Registry / other / qt5-sensors

qt5-sensors

JSON →
library5.15.18vcpkgunverified

The Qt Sensors API provides access to sensor hardware via QML and C++ interfaces. The Qt Sensors API also provides a motion gesture recognition API for devices.

vcpkg install qt5-sensors
INSTALL
IMPORT
SIG · QT5-SENSORS
Q
qt5-sensors
othercppv5.15.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QtSensors/QtSensors
#include <QtSensors/QtSensors>

Connect to an accelerometer sensor

#include <QtSensors/QtSensors> #include <QCoreApplication> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QAccelerometer sensor; sensor.connectToBackend(); qDebug() << "Sensor connected:" << sensor.isConnectedToBackend(); return app.exec(); }
Debug
Known issues
breakingQt 5 only; use Qt 6 Sensors for Qt 6 projects
fix
Migrate to Qt 6 Sensors module for Qt 6 compatibility
affects: all
Upgrade
Version history
5.15.18latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources

No resource links recorded.

qt5-sensors — pip install qt5-sensors · libregistry