QCompass Class▲
-
Header: QCompass
-
Since: Qt 5.1
-
qmake: QT += sensors
-
Inherits: QSensor
-
Group: QCompass is part of sensors_type
Detailed Description▲
The only behavioural difference is that this class sets the type properly.
This class also features a reading() function that returns a QCompassReading instead of a QSensorReading.
For details about how the sensor works, see QCompassReading.
See Also▲
See also QCompassReading