通用后端

通用传感器后端可对平台上未支持的某些传感器进行模拟。例如,在没有旋转传感器但配备加速度计的平台上,可通过加速度计计算旋转角度,从而提供模拟的旋转传感器功能。

支持以下通用传感器:

模拟传感器源传感器
环境光传感器光传感器
方向传感器加速度计
旋转传感器加速度计
倾斜传感器加速度计

如果某个平台不支持源传感器,则无法模拟该传感器。

© 2026 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.