Chapter 9. Sensors and Qt Quick

Many of today's devices come with a myriad of sensors, including a means to determine the device's position and orientation as well as measure the characteristics of its surroundings through thermometers, luminescence sensors, accelerometers, gyroscopes, and other sensors. This is especially true of cell phones and other portable devices.

In this chapter, we will take a look at Qt's sensor and positioning frameworks as they're supported in QML. You'll learn how to determine a device's position on the surface of the earth and how to measure the other characteristics of its environment as reported by its onboard sensors.

In this chapter, we will cover the following topics:

  • Sensors in Qt
  • Determining the device location ...

Get Application Development with Qt Creator - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.