Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] Qt Quick Module deployment to remote linux device
QtWS25 Last Chance

[SOLVED] Qt Quick Module deployment to remote linux device

Scheduled Pinned Locked Moved Mobile and Embedded
qt quick moduleqtquick.layouts
3 Posts 1 Posters 2.0k Views
  • 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.
  • M Offline
    M Offline
    marcin100
    wrote on last edited by marcin100
    #1

    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?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      marcin100
      wrote on last edited by marcin100
      #2

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

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        marcin100
        wrote on last edited by
        #3

        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

        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