Macdeployqt does not include thirdparty modules



  • 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(&#41;;
    

    }
    @

    Anyone can help?



  • Oh, it seems that I asked at the wrong place. Can you move this topic to "3rd Party Software" or "Tools"? :-$


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Which version of Qt/OS X/Xcode are you using ?



  • Qt 5.3.2 on OS 10.9.5, Xcode Version 6.0.1

    Bacon2D was install in $HOME/Qt/5.3/clang_64/imports


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.