diff options
author | Juha Vuolle <juha.vuolle@insta.fi> | 2021-08-09 12:09:21 +0300 |
---|---|---|
committer | Juha Vuolle <juha.vuolle@insta.fi> | 2021-08-16 12:20:32 +0300 |
commit | 1e6f2126f11a62813dd652d3df0edb8bff8dfbf1 (patch) | |
tree | 00ff952befa84b6de8176037ee1fab74ef60e915 /src/sensors/doc/src | |
parent | 47dd71e249b6e2fe560592423f4b9d36d6919e50 (diff) |
Disable gestures from QtSensors
The sensor gestures requires some rethinking in order to be
of more use for the developers. Therefore we should not
yet commit to the old API at least in the first Qt 6
sensors release.
This commit disables the gestures by:
- Excluding gesture code from compilation
- Excluding gesture examples and tests from compilation
- Excluding the gesture related documentation
- And updating the Qt 6 porting guide
Pick-to: 6.2
Task-number: QTBUG-95747
Task-number: QTBUG-95649
Change-Id: I33c1e010825a88b10fa1f7ad49ad3b5383b470aa
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/sensors/doc/src')
-rw-r--r-- | src/sensors/doc/src/compatmap.qdoc | 2 | ||||
-rw-r--r-- | src/sensors/doc/src/qt6-changes.qdoc | 6 | ||||
-rw-r--r-- | src/sensors/doc/src/qtsensors.qdoc | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/sensors/doc/src/compatmap.qdoc b/src/sensors/doc/src/compatmap.qdoc index f013c891..acb98193 100644 --- a/src/sensors/doc/src/compatmap.qdoc +++ b/src/sensors/doc/src/compatmap.qdoc @@ -165,6 +165,4 @@ a magnetometer might support returning geo values. See QSensor::isFeatureSupported() for additional details. - Sensor Gestures are mostly platform independent, and will run if the platform has the sensors required. - Whether they are supported and work well or not depends on the platform. */ diff --git a/src/sensors/doc/src/qt6-changes.qdoc b/src/sensors/doc/src/qt6-changes.qdoc index d8db18cb..c82bf561 100644 --- a/src/sensors/doc/src/qt6-changes.qdoc +++ b/src/sensors/doc/src/qt6-changes.qdoc @@ -41,6 +41,12 @@ In this topic we summarize those changes in Qt Sensors, and provide guidance to handle them. + \section1 Sensor Gesture support + + The Gesture support has been removed. In its current shape the gestures + needs rethinking to be of more use for the developers. To track this please + see \l {https://bugreports.qt.io/browse/QTBUG-95649}{QTBUG-95649}. + \section1 Platform notes \section2 Windows diff --git a/src/sensors/doc/src/qtsensors.qdoc b/src/sensors/doc/src/qtsensors.qdoc index b0f350ed..fb805d83 100644 --- a/src/sensors/doc/src/qtsensors.qdoc +++ b/src/sensors/doc/src/qtsensors.qdoc @@ -32,7 +32,6 @@ \since 5.1 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. Currently the API is supported on \l{Qt for Android}{Android}, \l{Qt for iOS}{iOS}, and \l {Qt for Windows}{Windows (MSVC)}. @@ -75,9 +74,6 @@ \li \l{Qt Sensors C++ Overview} \li High-level information on how to use the C++ API. \row - \li \l {Sensor Gestures C++ Overview} - \li High-level information specific to sensor gestures - \row \li \l {Qt Sensors Examples}{Examples} \li Examples demonstrating the use of the Qt Sensors APIs \endtable |