Qt Sensors Reference Documentation

QAccelerometerReading Units

QAmbientLightReading Units

QCompassReading Units

QGyroscopeReading Units

QHumidityReading Units

QLightReading Units

QMagnetometerReading Units

Calibration

QOrientationReading Units

QPressureReading Units

QProximityReading_Units

QRotationReading Units

Orientation

Compatibility Map

Platform specific notes

Windows

Creating a sensor plugin

How a Sensor Plugin is Loaded

Determining the default sensor for a type

Multiple Sensors Can Exist for a Type

Default Sensor for a Type

Sensors.conf

Dynamic Sensor Backend Registration

Static Backend Registration

Dynamic Backend Registration

Suggested Registration Policy

Generic Backend

Android getRotationMatrix and getOrientation

Changes to Qt Sensors

Sensor Gesture support

Platform notes

Windows

sensorfw

TI Sensor Tag

Removed sensors

Linux

API changes

Deleted typedef for qtimestamp

Renamed sensor type string to sensorType

Renamed LidReading::backLidChanged property to backLidClosed

Added parameter to QSensorBackend::sensorBusy() to be able to also clear

Sensor::type and and QSensor::type properties marked as constant

Qt Sensors C++ Overview

Sensor Types

Common Conventions

Using a Sensor

Accessing Sensor Data in a Generic Fashion

Discovering Sensors And Reading Properties At Runtime

Front End, Back End

Main Classes

Reading Classes

Sensor Classes

Filter Classes

Qt Sensors

Using the Module

QML API

C++ API

Building with CMake

Building with qmake

Articles and Guides

Examples

API Reference

Module Evolution

Licenses and Attributions

Qt Sensors module topics

How to create your own Sensor

Creating your own sensor using C++ API

Creating a sensor

Sensorfw Backend

Qt Sensors Backend

Overview

Backend Classes

Backend Topics

Sensors Showcase

Overview

Main Menu

Accelerometer View

Proximity View

Compass View

Magnetometer View

Gyroscope View

Accelerometer

AccelerometerReading

AmbientLightReading

AmbientLightSensor

AmbientTemperatureReading

AmbientTemperatureSensor

Compass

CompassReading

Gyroscope

GyroscopeReading

HumidityReading

HumiditySensor

LightReading

LightSensor

Magnetometer

MagnetometerReading

OrientationReading

OrientationSensor

PressureReading

PressureSensor

ProximityReading

ProximitySensor

QmlSensors

RotationReading

RotationSensor

Sensor

SensorReading

TiltReading

TiltSensor

Qt Sensors Examples

Qt Sensors C++ Classes

Qt Sensors QML Types

QML Sensors Module API

QML Sensor Types

QML Reading Types

All QML Types