Qt Sensors API 凭借 QML 和 C++ 接口对传感器硬件提供访问。Qt Sensors API 还为设备提供运动手势识别 API。
目前,API 支持在 Android , iOS , SailFish and WinRT .
应用程序可以使用 QML 或 C++ 访问 Qt Sensors。
QML 类型 | 有关 Qt 传感器 QML API 的信息 |
C++ 类 | Information about the Qt Sensors C++ API |
Qt Sensors C++ 概述 | High-level information on how to use the C++ API. |
Sensor Gestures C++ Overview | High-level information specific to sensor gestures |
范例 | Examples demonstrating the use of the Qt Sensors APIs |
Backend | Information about the Qt Sensors back end |
Qt Sensors - Grue Sensor Example | The Qt Sensors - Grue Sensor Example demonstrates creation of a sensor backend |
Qt Sensors 5.0 (the initial release) is generally expected to be source compatible with QtMobility Sensors 1.2.
移植指南 | Information about the steps needed to port applications to the Qt Sensors API. |
兼容性地图 | Compatibility map of all supported platforms. |
Generic Backend | Information about the generic sensor backend. |
Sensorfw Backend | Information about the Sensorfw sensor backend. |