Tiled的qbs方式编译记录
Posted yantuguiguziPGJ
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tiled的qbs方式编译记录相关的知识,希望对你有一定的参考价值。
目录
一 编译OK
该例子以qbs方式将qml自动打包,很棒。
二 moc_donationpopup.cpp缺失问题解决
(1)格式问题
修改从:
"&Donate ↗"
"I'm a &supporter!"
到:
"&Donate"
"I'm a &supporter"
(2)删除libtilededitor.877b2b3a文件夹重新编译
//tiled.qbs文件修改
property string version: Environment.getEnv("TILED_VERSION") || "1.8.4";
property bool snapshot: Environment.getEnv("TILED_SNAPSHOT") == "true"
property bool release: Environment.getEnv("TILED_RELEASE") == "true"
property bool installHeaders: true
property bool useRPaths: true
property bool windowsInstaller: true
property bool staticZstd: false
property bool sentry: false
property bool dbus: true
//donationpopup.cpp文件修改
// auto visitDonatePage = new QPushButton(QCoreApplication::translate("DonationDialog", "&Donate ↗"));
// auto alreadyDonating = new QPushButton(QCoreApplication::translate("DonationDialog", "I'm a &supporter!"));
// auto maybeLaterButton = new QPushButton(QCoreApplication::translate("DonationDialog", "&Maybe later"));
auto visitDonatePage = new QPushButton(QCoreApplication::translate("DonationDialog", "&Donate"));
auto alreadyDonating = new QPushButton(QCoreApplication::translate("DonationDialog", "I'm a &supporter"));
auto maybeLaterButton = new QPushButton(QCoreApplication::translate("DonationDialog", "&Maybe later"));
三 参考链接
mapeditor/tiled: Flexible level editor (github.com)
(5条消息) VS +QT 手动添加Q_OBJECT 报错问题解决_边城浪子书生的博客-CSDN博客_q_object报错
以上是关于Tiled的qbs方式编译记录的主要内容,如果未能解决你的问题,请参考以下文章
Cocos Creator Tiled地图导入到cocos出现位置偏移问题