Problems with Open-Source Downloads read and

[SOLVED] Qt Quick Module deployment to remote linux device

  • 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 installed

    I 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?

  • Any ideas actually how do install QtQuickLayouts manually on remote linux target.

    I am using Yocto Poky SDK and image wandboard-bsp-dizzy

  • 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 = " ...