Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Gyro support?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8942

    Martin

    I instantiated a Gyrometer from QtSensors 5.0.   It all compiled and deployed OK, but I don’t get any readings.

     

    Is it supported?

    #8943

    Alex
    Felgo Team

    Hi,

    Yes definitely, at least on all devices which include a gyroscope sensor. 😉 You can see the list of supported platforms here: http://doc.qt.io/qt-5/compatmap.html

    A possible issue could be that the sensors plugin can’t be loaded at runtime, could you please make sure that your project files includes the following code:

    QT += sensors

    Also, are you actually starting reading the data with start() or setting the active property to true?

    Thanks,

    Alex

    #8947

    Martin

    Hah – active: true is a very good tip 😀

     

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.