Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled template resolution for the tmxrasterizer application. #3977

Merged
merged 5 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/tmxrasterizer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

#include "pluginmanager.h"
#include "tmxrasterizer.h"
#include "tmxmapformat.h"

#include <QCommandLineParser>
#include <QDebug>
Expand All @@ -52,6 +53,8 @@ int main(int argc, char *argv[])
app.setApplicationVersion(QLatin1String("1.0"));

PluginManager::instance()->loadPlugins();
XmlObjectTemplateFormat xmlObjectTemplateFormat;
PluginManager::addObject(&xmlObjectTemplateFormat);
bjorn marked this conversation as resolved.
Show resolved Hide resolved

QCommandLineParser parser;
parser.setApplicationDescription(QCoreApplication::translate("main", "Renders a Tiled map or world to an image."));
Expand Down
1 change: 1 addition & 0 deletions src/tmxrasterizer/tmxrasterizer.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TiledQtGuiApplication {
consoleApplication: true

Depends { name: "libtiled" }
Depends { name: "libtilededitor" }

cpp.includePaths: ["."]

Expand Down