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
 

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