Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. module "QtPositioning" is not installed
Forum Updated to NodeBB v4.3 + New Features

module "QtPositioning" is not installed

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 988 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.
  • P Offline
    P Offline
    Peter Akarakiri
    wrote on 22 Dec 2016, 19:14 last edited by
    #1

    Hello all,

    I have a Qt app in Ubuntu. I'm trying to run the "subdirs" project using appman. The application builds fine.

    When I run the application, I get the following error:

    [CRIT | am.system] WARNING: for the installer to work correctly, the executable needs to be run either as root via sudo or SUID (preferred) [sudo.cpp:135]
    [CRIT | am.system] (using fallback implementation - you might experience permission errors on installer operations) [sudo.cpp:136]
    [WARN | default] The 'builtIn' field is deprecated. This line will not have any effect. [yamlapplicationscanner.cpp:149]
    [WARN | default] The 'builtIn' field is deprecated. This line will not have any effect. [yamlapplicationscanner.cpp:149]
    [WARN | default] The 'builtIn' field is deprecated. This line will not have any effect. [yamlapplicationscanner.cpp:149]
    [WARN | default] The 'builtIn' field is deprecated. This line will not have any effect. [yamlapplicationscanner.cpp:149]
    [DBG | am.system] Found Applications: [ [main.cpp:646]
    ... [main.cpp:648]
    [DBG | am.system] ] [main.cpp:649]
    [CRIT | am.system] WARNING: could not register service org.freedesktop.Notifications on D-Bus (unix:abstract=/tmp/dbus-xvdZjCDE5A): [main.cpp:232]
    [WARN | default] QQmlApplicationEngine failed to load component [qqmlapplicationengine.cpp:132]
    [WARN | default] file:///ui/Main.qml:38 Type Display unavailable
    file:////../ui/sysui/Display.qml:22 Type StatusBar unavailable
    file:///../ui/sysui/StatusBar/StatusBar.qml:49 Type LatLongWidget unavailable
    file:///../ui/sysui/StatusBar/LatLongWidget.qml:6 module "QtPositioning" is not installed
    [qqmlapplicationengine.cpp:133]
    [CRIT | am.system] ERROR: Qml scene does not have a root object

    I've tried the following:

    1. According to https://forum.qt.io/topic/50037/qml-included-modules-not-installed-unless-qml-directory-is-a-subdirectory-of-the-project-file/3, I set the QML_ROOT_PATH with no luck.
    2. This did not help either - http://stackoverflow.com/questions/39472286/qml-error-qrc-main-qml24-module-system-is-not-installed. This is because I'm using appman rather than using "QQmlApplicationEngine" directly to run the application.

    Any clues to get the application to run?

    1 Reply Last reply
    0

    1/1

    22 Dec 2016, 19:14

    • 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