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. Using QML Sensors from Win10 (Surface)

Using QML Sensors from Win10 (Surface)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
sensorswindows 10orientation
1 Posts 1 Posters 826 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.
  • D Offline
    D Offline
    davidljung
    wrote on 8 May 2017, 22:16 last edited by
    #1

    Hi all.
    When I run the sensor_explorer example on Windows 10 on a Microsoft Surface, it doesn't report any sensors. That is, the output of QmlSensors.sensorTypes() is an empty list.
    I've tried compiling with both MSVC 2015 and MINGW32 and the Qt 5.7 and 5.9beta, with the same results. I did find a compatibility table on the website which mentions Windows8/RT but no mention of Windows 10.

    I've also tried it on a Win 10 MS Surface and a Lenovo Thinkpad both under Win 10. Neither report any sensors, but if I reboot the notebook into Ubuntu and run the sample app, I have 4 sensors reported.

    Has anyone managed to get the QML Sensors (or QSensor via C++) to work on Windows 10 (or even on a Surface)?

    Any help / pointers appreciated.
    Thanks!
    David

    1 Reply Last reply
    0

    1/1

    8 May 2017, 22:16

    • 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