Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Macdeployqt does not include thirdparty modules
Forum Updated to NodeBB v4.3 + New Features

Macdeployqt does not include thirdparty modules

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lane
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lane
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lane
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved