End to End GUI Development with Qt5
by Nicholas Sherriff, Guillaume Lazar, Robin Penea, Marco Piccolino
Introducing Qt Sensors
Qt Sensors (http://doc.qt.io/qt-5.9/qtsensors-index.html) is a module that makes it easy for application developers to access sensor information in a cross-platform way. It provides classes for both C++ and QML, and supports out-of-the-box different kinds of sensors on a few platforms. Its architecture is based on the separation between front-end and back-end classes. While front-end classes are dedicated to application developers, back-end classes allow hardware and library developers to create wrappers for new sensors or new platforms.
The sensor data is exposed conveniently via the QSensorReading (http://doc.qt.io/qt-5.9/qsensorreading.html) class' specific subclasses, such as QAccelerometerReading (http://doc.qt.io/qt-5.9/qaccelerometerreading.html ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access