[SOLVED] Qt Quick Module deployment to remote linux device
-
wrote on 22 Jul 2015, 21:14 last edited by marcin100
Hello,
I am trying to deploy my application to the remote Linux device. The application is using QtQuick.Layouts and works perfectly on Ubuntu host. However when attempted to deploy to remote Linux device I get the following error:
QQmlApplicationEngine failed to load component
qrc:/main.qml:3 module "QtQuick.Layouts" is not installedI have found already that I should copy the module manually to the target. I have not tested this yet, so not sure if it will work.
However, is there a cleaner way to solve this? Can Qt Creator deploy these modules on as needed basis? -
wrote on 25 Jul 2015, 05:27 last edited by marcin100
Any ideas actually how do install QtQuickLayouts manually on remote linux target.
I am using Yocto Poky SDK and image wandboard-bsp-dizzy
-
wrote on 16 Aug 2015, 03:28 last edited by
I solved this by adding the following in the local.conf
PACKAGECONFIG_DISTRO_append_pn-qtbase = " accessibility"
PACKAGECONFIG_append_pn-qtquickcontrols-qmlplugins = " accessibility"under IMAGE_INSTALL_append = " ...
qtquickcontrols-qmlplugins