兼容性地图

颜色 说明
支持该传感器。
不支持该传感器。
功能 安卓 Linux iOS Windows 通用
加速计
环境光传感器
环境温度传感器
罗盘
陀螺仪
光传感器
磁力计
方向传感器
压力传感器
接近传感器
旋转传感器
倾斜传感器

除上表外,每种传感器类型还可能支持特定功能。例如,磁力计可能支持返回地理值。更多详情,请参阅QSensor::isFeatureSupported() 。

平台特定说明

视窗

使用 MSVC 构建的 Qt 安装支持 Windows 后端。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.