兼容性映射

颜色 解释
The sensor is supported.
The sensor is not supported.
特征 Android Linux iOS Windows 一般
Accelerometer
Ambient Light Sensor
Ambient Temperature Sensor
Compass
Gyroscope
Light Sensor
Magnetometer
Orientation Sensor
Pressure Sensor
Proximity Sensor
Rotation Sensor
Tilt Sensor

In addition to the table above, each sensor type might support specific features. For example, a magnetometer might support returning geo values. See QSensor::isFeatureSupported () for additional details.

Platform specific notes

Windows

The Windows backend is supported in Qt installations that were built with MSVC.