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. Deploying Qt Quick Desktop Application
QtWS25 Last Chance

Deploying Qt Quick Desktop Application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
quickdeploydeploymentdeployingqml
1 Posts 1 Posters 1.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
    Marco B
    wrote on 26 Nov 2015, 08:06 last edited by
    #1

    I have problems deploying Qt Quick Application (5.4) on embedded device running Ubuntu 11.04. I tested a Qt Widget and it works, but I have problem with the QtQuick Application. I resolved all (I think) libraries dependency issues:

    • I copied libicu***.so.53.1 and libQt5***.so.5 libraries from compilerDir/lib to the same folder of executable ( I renamed the ***.so.53.1 in ***.so.53 )
    • I copied libqxcb.so from compilerDir/plugins/platforms to platforms dir in the same dir of the executable
    • I changed the default lib path of the executable using "chrpath -r $ORIGIN <executablename>
    • I copied the compilerDir/qml dir in the same dir of the executable and I created a run.sh bash:

    #!bin/sh
    export QML_IMPORT_PATH='pwd'/qml
    export QML2_IMPORT_PATH='pwd'/qml
    export QT_QPA_PLATFORM_PLUGIN_PATH='pwd'/platforms

    Then to start application:
    xinit
    ./run.sh
    ./<applicationname>

    With these operations I solved some problems:

    • QXcbConnection: Could not connect to Display. Aborted
    • QQmlApplicationEngine failed to load component: qrc:/main.qml:1 module QtQuick is not installed ...............

    Now the application starts, and immediately crash with Segmentation Fault.

    I have problems solving this error.

    1 Reply Last reply
    0

    1/1

    26 Nov 2015, 08:06

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved