Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt Quick 2.2 application
Qt 6.11 is out! See what's new in the release blog

Qt Quick 2.2 application

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 1.6k Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,
    I developed a simple qml application on my linux system (just to understand us, an "Hello Word" app).
    Then I copied my exe on my target system (in which are installed the same qt libraries on my dev pc) and I saw this error:

    QQmlApplicationEngine failed to load component
    qrc:///main.qml:1 module "QtQuick" is not installed
    qrc:///main.qml:2 module "QtQuick.Window" is not installed

    Someone can hel me?

    1 Reply Last reply
    0
    • timdayT Offline
      timdayT Offline
      timday
      wrote on last edited by
      #2

      You may need to read and understand the stuff at http://qt-project.org/doc/qt-5/linux-deployment.html , especially the later sections on application dependencies and Qt plugins.

      Alternatively if you're using a version of Qt which is "standard" for a distro (for example Qt 4.8 on Debian Wheezy) then the simplest option may be to use the platforms' own package management systems (for example on Debian I create .debs declaring a dependency on the appropriate qt packages and it Just Works, with dpkg/apt/aptitude ensuring any needed dependencies are installed in the right place).

      Copying .exes around isn't really recommended; the link above will get you a bit closer to being able to do that with static linking, but that still doesn't help with plugins.

      1 Reply Last reply
      0
      • JKSHJ Online
        JKSHJ Online
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi,

        There's a good blog post that explains what's going on: http://www.tripleboot.org/?p=138 (Scroll down to "Linux" for instructions)

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        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