aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/extras/QtSensors.rst
blob: 03a4d5477a65a0665155c79c25483326bbdae5fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

The Qt Sensors API provides access to sensor hardware via QML and Python
interfaces.

Currently the API is supported on Android, iOS, and Windows (MSVC).

Information for Application Writers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Applications can access Qt Sensors using QML or Python.

To include the definitions of modules classes, use the following
directive:

::

    import PySide6.QtSensors

The module also provides `QML types <https://doc.qt.io/qt-6/qtsensors-qmlmodule.html>`_ .