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. QtSensors + Android + 5.2.0 (latest snapshot)

QtSensors + Android + 5.2.0 (latest snapshot)

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 944 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.
  • F Offline
    F Offline
    Frido
    wrote on last edited by
    #1

    Hi,

    although stated in the docs that Gyroscope and Rotation Sensor should work with Android ("http://doc-snapshot.qt-project.org/qt5-nosubdir/compatmap.html":http://doc-snapshot.qt-project.org/qt5-nosubdir/compatmap.html) it doesn't - on my side. Is it not supported or do I have to do any special? A simple test application where I have:

    @
    QAccelerometer *acc = new QAccelerometer(this);
    ok = acc->start();
    QRotationSensor *rot = new QRotationSensor(this);
    ok = rot->start();
    QGyroscope *gy = new QGyroscope(this);
    ok = gy->start();
    @

    Returns true only for QAccelerometer. The other both does not start. Why? (I do have QT += sensors in my pro file.)

    Working on 4.1.2 and samsung galaxy tab 3.

    Thanks

    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