Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Additional QML plugin directory that can be found at build time



  • For Android deployment reasons (see http://qt-project.org/forums/viewthread/41619/), the only safe way of deploying our custom qml plugins is currently deploying them into the official qml directory inside /qt-dir/<version>/<platform>/qml. This allows Android qmake to locate qml plugins at build time and bundle them correctly into the apk, but it gets ugly quickly as it is not a sandboxed environment.

    I would like to know if there is a way to indicate another system-wide qml plugin directory that can be used in addition to /qt-dir/<version>/<platform>/qml so that it can be used as a sandbox for custom qml plugins.



  • Is something like

    QT_INSTALL_QML += /our/qml/plugin/install/root/

    possible?


Log in to reply