| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit removes the sensor frontend implementations of QAltimeter,
QDistanceSensor, QHolsterSensor and their QML counterparts. Since
the BlackBerry backend removal in 2015 these sensors have not had
a backend support.
Sensorfw is not currently supported by Qt6, and as the sole backend
provider the following sensors have been removed from documentation
until such support is reintroduced: QIRProximitySensor, QLidSensor,
QTapSensor and their QML counterparts.
[ChangeLog][QAltimeter] Remove support
[ChangeLog][QDistanceSensor] Remove support
[ChangeLog][QHolsterSensor] Remove support
[ChangeLog][QIRProximitySensor] Disable documentation
[ChangeLog][QLidSensor] Disable documentation
[ChangeLog][QTapSensor] Disable documentation
Task-number: QTBUG-92512
Change-Id: Ic89e91bf65e7a70a2faf0fb566bb24f2f1005a4e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit d40c4d0b3766043cf4fbaa87acd76b11bf733369)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ctor parameter is not used. For clarity it should be mentioned
that the memory management of the created 'reading' is done by
explicitly parenting the 'reading' in the qmlsensor baseclass.
Task-number: QTBUG-92505
Change-Id: I4e50bcafa7789f7400364078302339915473a3b1
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 89905b1ea1c81013d21093c95f6fee2665fdaa69)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-92513
Change-Id: Ief063423985c9ad4d0209b0b9dda25d77e8fb30b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit d931b2367c1a0d827a0e7bd51a5c3f08f9a55ba7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
In some cases the reading may be a nullptr and the test needs to
prepare for it.
Task-number: QTBUG-92513
Change-Id: I0186ffe9b277c9b978a30b4001c31df350a5d7a8
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit b34c7bcc40b07e6c88593d49196f91f1075f9bb2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem was that the testcase did not find the testdata files on
Android. On closer inspection it turns out that TESTDATA token in
qt_internal_add_test treats ANDROID/IOS and rest of the platforms
differently in terms of how test resources are handled. This commit
stores testdata unconditionally as qrc resources.
Task-number: QTBUG-92513
Task-number: QTBUG-73618
Change-Id: I0cfe878661dd2c55fa63abc1f95534a8041aa34d
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
(cherry picked from commit 07155b638ec9e6383e05f054c71da24a199bf11e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many of the sensors' QML "reading" value properties change with high
frequency. This makes them candidates to benefit from the more
performant bindable support.
This commit adds the bindable support for QML sensor 'reading' classes:
pressure, gyroscope, tap, compass, proximity, orientation, distance,
magnetometer, lid reading, tilt, rotation, humidity, holster, ambient
temperature, light sensor, altimeter, IR proximity, accelerometer,
ambient light, and sensor reading baseclass (timestamp common to all)
In addition to the 'reading' classes, the commit adds bindable support
for QmlSensor::reading, as it's change signal is emitted with high
frequency, on every sensor reading change.
Task-number: QTBUG-92513
Task-number: QTBUG-92503
Task-number: QTBUG-92505
Change-Id: I413ddd8a758142b9b93596e55b3bc8c3c2c98252
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit c255fe62f86598f48bd7e69e449aa95aa016f4fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a (QML) test for sensor identifier (and activation
whose logic is closely related). The related changes:
* Change sensor 'identifier' and 'type' properties to QByteArray. This
now matches with C++ side that uses QByteArray
* Allow changing of 'identifier' after componentComplete. This is now
aligned with C++ side. Changing identifier is fine as long as the
backend is not connected.
Task-number: QTBUG-92513
Task-number: QTBUG-92505
Change-Id: I326d840d5a4efb13a3a6578711563e8054cc9961
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit c3cc1253ba159e6f4c9bd4c92da2b8c300ee94f2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current implementation allowed sensor backend to only indicate
that it is busy, but not to tell when it was freed again. This commit
allows sensor backend to indicate also that it's busy state has cleared.
It is up to the sensor implementation to decide if it makes sense /
is possible to do that or not.
Task-number: QTBUG-92513
Task-number: QTBUG-92505
Change-Id: Ied4857850e81346031fd83aa347d9955081118e8
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit f8445fdcbf75e455443304bc290c48c37961e9f1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit introduces QML based auto tests in order to increase
the autotest coverage.
Additionally the QML sensor activity handling is fixed which caused
the newly added tests to fail. There are also long-standing bugs about
these activeChanged() double emits.
Task-number: QTBUG-92514
Task-number: QTBUG-70770
Task-number: QTBUG-80755
Change-Id: I98f036f665a056c441efa00aab76ec47bc628057
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 54b3ca67ad7230a21d76c581dd4287401acb230f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
| |
Task-number: QTBUG-92505
Change-Id: I1e8334473c883f76285736f6a26138ea882f5351
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main issue with running the autotests on an Android device is
that the device has real sensors too and the test case is not prepared
for that. This commit addresses this by allowing additional available
sensors as well as specifying more specifically which sensor IDs to use
for testing.
Task-number: QTBUG-73617
Task-number: QTBUG-92513
Change-Id: I92180df6f5e8361d39134567616b21a3a51b636c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
| |
The case has been superseded years ago
Task-number: QTBUG-92513
Change-Id: I7d27083863d57bfa94e49abcceb1be10f7bf5945
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This commit introduces few source compatible changes:
- Change obsoleted Q_ENUMS => Q_ENUM
- Mark QSensor::type property as CONSTANT as it cannot change
- Add change signal to QSensor::identifier and a testcase for it
Task-number: QTBUG-92505
Change-Id: I6e3a652929d15bc5211448be2ae9254ed6d21118
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The term 'legacy' here refers to QtMobility sensors 1.2 implementation,
and the test case removed by this commit has been disabled in 2012
when 1.3 was released.
Task-number: QTBUG-92513
Change-Id: If6a2e72c9d7c97f0bf93a8acbc3521cceffab571
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main changes:
- Introduction of new SensorsQuick library with private exports
- The original QML plugin loads this new library and does little else
- Renamed original 'sensors' plugin as 'declarative_sensors' to provide
an idea what it relates to
- Renamed library headers as private "_p.h" and added "We mean it"
- Changed qmlRegister* calls to QML_ELEMENT macros
- Removed files that are generated in Qt6 (qmldir, plugins.qmltypes)
Task-number: QTBUG-92530
Change-Id: I18f849adabcc79ac47e67305f78aefeee82801bc
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The 'type' static variable shadowed the 'QSensors::type()' method of
the baseclass. While this is easy to workaround it is better to
remove such naming clash.
Task-number: QTBUG-60246
Change-Id: Id0ddae978377ea4d4d0202a572c554c2541f9364
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-92505
Change-Id: Iebfda5ae88594826d1253b725e1e15dd2bde7435
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The two manual test applications are now part of build when manual
tests are built. This helps to detect if the test applications break
over time.
The tests were slightly renamed to avoid a naming clash with an
example app. In addition the commit addresses few trivial things
so that the applications start and run without warnings.
Task-number: QTBUG-92502
Change-Id: Ia0368764102efc16276116bc8c75d562d79c1e27
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit introduces the bare minimum cmake support that should
unblock the CI and allow further verification and development on most
platforms: macOS, Linux, Win, iOS and Android.
Some clarifications:
* The support for sensorfw backend is very preliminary and can
be enabled later if needed (no Qt6 version of the sensorfw).
* The simulator backend is dropped as obsolete / unnecessary.
* Three examples are currently commented out and shall be ported with
a later commit.
Task-number: QTBUG-92502
Change-Id: Id523d43ed3ef177010dc73afc5812ed374cff0dd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fair amount of work remains after the commit still, but this should
allow further development as a compilable baseline: code compiles,
autotests pass, and most example applications at least start.
The changes:
-Change examples to use QtQuickControls 2 as per removal of v1
-Fix ambiguous conditional expression compilation error
-Link against runtimeobject library (previously part of winrt QPA?)
-Change the .pro file rule to win32 as winrt moniker does not exist anymore
-Remove references to deleted winrt event dispatcher
-Fix error handling: getdefault may be successful even if there is no default sensor
-Fix QCOMPARE failure output (toString has changed in Qt6)
-Remove qtimestamp alias which was deprecated already in Qt5
-Remove unit test hook that does not seem to be used anywhere
-From typedef to ‘using’ for readability
-Q_ENUMS -> Q_ENUM as the former has been obsoleted by the latter
-Add qt6 changes qdoc page
Task-number: QTBUG-88616
Change-Id: I92c168228ba76106b2c636c88f54331c76c3d2e6
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
| |
BC file built against 5.14.0 added.
Change-Id: I2d845df473db90a37287cc3ecf0dffcf4978ece9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the QQmlListProperties were constructed on stack-allocated
lists, which immediately turned into dangling pointers on return. Also,
none of the sensor ranges was ever deleted.
Keep the sensor ranges in persistent lists in the private object, parent
them to the main QmlSensor object, and add some tests for them.
Fixes: QTBUG-79224
Change-Id: Ie61d0aaeaaaf998c1d1f46f60c81848ae48659d6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
|\
| |
| |
| | |
Change-Id: Idb20ba0646891ab3b6fe73c88cee26747516eb30
|
| |
| |
| |
| |
| |
| |
| |
| | |
Its inclusion in QT broke builds that are fine without it.
Change-Id: I457def5945dc3db5b2cf2137c9de1917e941d0c3
Task-number: QTBUG-79353
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|/
|
|
|
|
| |
Task-number: QTBUG-76491
Change-Id: I3fd78291e117947f38c77360054b8317561ffa28
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
BC file added.
Change-Id: Iec44777c1e7cf46c2c880cbb34ec394904d67736
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
|
|
|
|
|
|
| |
Binary compatibility file added.
Change-Id: I15a1890d0a921f4427b777d2324649e85db58bbb
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
|
|
|
|
|
|
| |
Binary compatibility file for bic test added.
Change-Id: Id0b45f457fd00ee388070fd07cb5dec69834d514
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I17dec1cd2d4934710663e5fa97c926a65fe301e5
|
| |
| |
| |
| |
| |
| |
| |
| | |
File to test binary compatibility for 5.10 added
Change-Id: Ic86425ada00f5c3804d50fff6d2e8618b2bc923e
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I51c0fc424f44ae68c3c1c4cf6377e7701ee5a0dd
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This test fails sometimes for the twist gesture data, because
it contains 3 gestures. QTRY_COMPARE_WITH_TIMEOUT usually stops
comparison after recognition of the first gesture, but it may
make the first comparison after more than one gesture has been
recognized and thus fail the test.
Add a new column to the test data with a list of gestures that
should be recognized and use the list in QTRY_COMPARE_WITH_TIMEOUT.
It will make the error message more informative if the test will
fail, and should make the test pass on all configurations.
Change-Id: Icfd86831b527da4933da2a20f45ccf9617862eac
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
Binary compatibility files updated.
Change-Id: I5c712e1bee1e791731ee4a5f6573478ee680cd6e
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unused old license files
- Update BSD and FDL license headers
- Unify licensing
* Examples are nowdays licensed under BSD, update correct license
header to there
* Tools and tests are nowdays licensed under GPL-EXCEPT, update
correct license header to those
* Src is nowdays licensed under LGPL, update correct license
header to there
Task-number: QTBUG-57147
Change-Id: I5d9d7a3bc5e360f01ec73fb6a2a873f3173b5918
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
Added binary compatibility file for qtsensors
Change-Id: Id281027e4342afe7b6090c5617e257f5d5481c28
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
|
|
|
|
|
|
| |
'override' keyword can be used directly since Qt 5.7.
Change-Id: Ibf0fc590f7e247a310a833a22ece700ec75199bb
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
|\
| |
| |
| | |
Change-Id: I14345192d06a8a0ac9000feab6daea0f11b41f72
|
| |
| |
| |
| |
| |
| |
| | |
Added binary compatibility data files for tst_bic test
Change-Id: I6e2b562d2d8611e43aaaae4d16fdb073a477be0c
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added the generated data files for the binary compatibility tests
for QtSensors for Qt 5.7.
Change-Id: Ia98bbfbb20142967278c70a19daa42abb9bec7af
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
src/sensors/doc/src/compatmap.qdoc
Change-Id: I7bd464cbd506f630798091fef3896050ade7b3f8
|
| |
| |
| |
| |
| |
| |
| |
| | |
this fixes static builds by ensuring that all dependencies are exported.
Task-number: QTBUG-51071
Change-Id: Ia3c3f69505650fd35982fc76e385e744b877e4df
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some
exceptions, see
http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/
Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one
(in those files which will be under GPL 3 with exceptions)
Change-Id: I9776db2840136cadb5cb1684a066b31758e16b8c
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: I4286dcb9262bf38960ff3852932012718aaa5d65
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
tst_recognizer() and tst_sensor_gesture_multi() fail in some cases.
It happens because QTestRecognizer is emiting the "detected" signal
every 10 ms and QTRY_COMPARE internally calls QTest::qWait(50).
Thus it may happen that QTestRecognizer will emit the "detected"
signal several times before the comparison.
So increase the timeout for the timer in QTestRecognizer from 10 ms
to 100 ms.
Change-Id: I48b2b9455113db832f277abd05cc016bda5718cc
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|/
|
|
|
| |
Change-Id: I4b06759f2a6f02ff6de0e9b1f5e758949ee081b0
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][QtSensors][Platform Specific Changes] Removed support
for BlackBerry 10 from QtSensors.
Change-Id: I56788caaa53797b7d4e23bb053c3ea8b460b1341
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I27b6bef6382c599a7ec412895fbb4da0d1760cd0
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: I328a947a8a25de542950d4b5c77304c4deb876c0
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|/
|
|
|
|
|
|
|
| |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: I141862df4ed2475c05ebbeb8fe447c4a6e736849
Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
|