#161 QtMobility.sensors 1.1 is not available in QML projects

Adam Pigg

Adding the following line:
import QtMobility.sensors 1.1
to a QML file results in an error similar to the following on startup:
W/Qt (17022): qrc:/qml/pgz-spaceinvaders/main.qml:2:1: module "QtMobility.sensors" is not installed

QtSensors and QtDeclarative libs have been included, and other than another error loading SVGs, the application works correctly.


  • Frank Tietgen

    Frank Tietgen - 2012-11-25

    Dear Adam Pigg,

    thanks for the great sensor test software. it works with

    "options 'deploy' and 'use' local qt libs are selected"

    but when I start the App from the Phone, I can't see the Ball anymore. Do you know why?

    Best Regards Frank

  • BogDan Vatra

    BogDan Vatra - 2012-11-26
    • status: open --> invalid
  • BogDan Vatra

    BogDan Vatra - 2012-11-26

    Make sure QtSensors library is checked (projects->run->package configurations->libraries) and proper permissions are added to permissions tab.

  • Frank Tietgen

    Frank Tietgen - 2012-11-27

    Thanks for reply,

    I checkted the libraries. Thats ok.
    The Permissions are set to android.permissions.INTERNET and android.permissions.WRITE_EXTERNAL_STORAGE

    Are there other permissions needed? I look at all other, but found nothing proper.

    Best Regards Frank


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks