Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

macdeployqt does not include thirdparty modules

$
0
0
I used Bacon2D to make a little game, the setup instructions are here: https://github.com/Bacon2D/Bacon2D But when I used “macdeployqt Game.app” to make a independent app, it didn’t include any file of Bacon2D. $ macdeployqt Game.app $ ./Game.app/Contents/MacOS/Game QQmlApplicationEngine failed to load component qrc:/main.qml:3 module "Bacon2D" is not installed main.cpp: #include <QGuiApplication> #include <QQmlApplicationEngine>   int main(int argc, char *argv[]) {     QGuiApplication app(argc, argv);       QQmlApplicationEngine engine;     engine.load(QUrl(QStringLiteral("qrc:/main.qml")));       return app.exec(); } Anyone can help?

Viewing all articles
Browse latest Browse all 2113

Trending Articles