summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-191-2/+2
| | | | | Change-Id: I6e7158f9682c9b9e44e4743db446c62f02b861e6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QtSensors: Fix backend loading in examples on static buildsTamás Martinec2021-05-192-0/+4
| | | | | | | | | | Added explicit sensors entry and plugin entries to the .pro files as the sensor plugins won't be linked on static builds (for example on iOS) otherwise. Task-number: QTBUG-92508 Change-Id: I6d7364ee2094be5a79bddd12ba041a69057dc070 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Rename subclass static variable which shadowed baseclass methodJuha Vuolle2021-05-1960-165/+170
| | | | | | | | | | | 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>
* Remove compiler warningsJuha Vuolle2021-05-181-3/+3
| | | | | | Task-number: QTBUG-92505 Change-Id: Iebfda5ae88594826d1253b725e1e15dd2bde7435 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Android rotation sensor value and datarate fixJuha Vuolle2021-05-172-7/+37
| | | | | | | | | | | | | | There was a breaking change in Android rotation sensor handling in Qt 5.12.4 when migrating to NDK usage: -The unit conversion logic was not transferred as part of the migration. This task reintroduces the unit conversion part. -The datarate interval was misinterpreted as usec, whereas it is Hz Fixes: QTBUG-77423 Change-Id: Ibe51b3dea393e1cbe1502b5611c07f32024daf57 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit edf82b1d6dc7572da93bbdcd5b4ce46fa1dab2ad) Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-131-2/+2
| | | | | Change-Id: I67fba299d308b6876804bbfde69a4e742b8c07e9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-121-2/+2
| | | | | Change-Id: I5e11e9c367bd9ec00a6e073c2d3a04712e744c6b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QtSensors: Fix the sensorgestures example on iOSTamás Martinec2021-05-111-0/+2
| | | | | | | | | Added explicit plugin entry to the .pro file as the gesture plugins won't be linked on iOS otherwise. Task-number: QTBUG-92508 Change-Id: I6d84a4ea706bd7f67d51c247588d3cc80e99ac98 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-101-2/+2
| | | | | Change-Id: I5471776b16d62425f6afee237ce1c6193130dfbb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Android: use new public jni apisAssam Boudjelthia2021-05-102-21/+28
| | | | | | | | | Replace use of QJNIObjectPrivate with QJniObject. Get context() and sdkVersion() from QNativeInterface::QAndroidApplication. Fixes: QTBUG-92550 Change-Id: I625b2269ef253e1a1f76f82edebac236de184c2c Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-071-2/+2
| | | | | Change-Id: Ic090e6f91e45c98bf56f9d0e204dd372f5916fd7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-061-2/+2
| | | | | Change-Id: Ie77783ee69a52e8a688a3c9279f8414c5141bc46 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-061-2/+2
| | | | | Change-Id: Ief1105e9e84e9efe021012c460e1bda28ac7d7df Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-051-1/+1
| | | | | Change-Id: I2b89b5656ef9c454362a84a5faf878d097e6a88c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Android: Fix build error issue in examplesJukka Passi2021-05-052-1/+3
| | | | | | | | | | | Added android branch to qtsensors example to get correct library architecture for the build Fixes: QTBUG-56322 Pick-to: 5.15 Change-Id: I6d15a423efdf232d7f187b39cd81606bb64f9a00 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-051-2/+2
| | | | | Change-Id: Id017d3505276acab33a48cf2bf74996cd8fd469a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-041-2/+2
| | | | | Change-Id: I24d57b825706df6a9b1d0d7c923ecd879b046f83 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-041-2/+2
| | | | | Change-Id: Ic78005b95f397be351a486f4d6417e6a0a22c59b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-041-2/+2
| | | | | Change-Id: Ib5e9e44c2155135b806ae804a666b67d2561fa1e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-031-1/+1
| | | | | Change-Id: I08a9b981c145de4a6a4df2b5ceb8fd6478426371 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-011-2/+2
| | | | | Change-Id: Ie7791c063744b3104601b5d3ed3acac0dc3ddd46 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-011-2/+2
| | | | | Change-Id: I13af5dd165653564bf161cffdb844de75ec52ca9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-05-011-2/+2
| | | | | Change-Id: I0beffca6db5fb4155558197d4976ace62525925f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-301-2/+2
| | | | | Change-Id: I6fcc04c83e739149183b9a76ee2c392bc329feb9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QtSensors: Fix iOS sensor backend loadingTamás Martinec2021-04-301-2/+6
| | | | | | | | | | Setting the default backend to the last registered backend if the current default is a dummy backend. Task-number: QTBUG-92508 Change-Id: Id67625544f0da2dae118998429c0aeeee2a94cb2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Juha Vuolle <juha.vuolle@insta.fi>
* Enable QtSensors manual tests as part of buildJuha Vuolle2021-04-306-125/+25
| | | | | | | | | | | | | | 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>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-281-2/+2
| | | | | Change-Id: Id168c8f2786ddc157ae874015dd1262e0bd877f2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-281-1/+1
| | | | | Change-Id: I1242d878d07d052db5a65422e5dee118f38244d5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Enable sensor_explorer example standalone buildJuha Vuolle2021-04-273-9/+10
| | | | | | | | | | | | | This commit enables building of the example outside of the source tree. Currently the example does not work with Qt 6.2 but requires more "content work" that shall be done under QTBUG-92514 Also removed the Widgets related code as the example is a Quick application. Task-number: QTBUG-92502 Change-Id: I016cf6697dc4603c77437c7f20601937b1fca293 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-271-2/+2
| | | | | Change-Id: I18e8364e08078fbdc247b5ec2f92d016c5535c4d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-271-2/+2
| | | | | Change-Id: I1f1878caf4da64ee746f81bdd4a6eded4cbeb1cc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-261-2/+2
| | | | | Change-Id: I8c982bc91f5580fe6726f93fdd149f0fa63b0ed3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add cmake support for two examples missing itJuha Vuolle2021-04-264-11/+65
| | | | | | | | | The grue example remains commented out, it will be addressed with a separate commit as part of the QTBUG-92514 Task-number: QTBUG-92502 Change-Id: Ieb1a61b942ac6adc6880e33478059893a9492730 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-241-2/+2
| | | | | Change-Id: Ie84933373748a6a39dc37d4ea6b3d96056c428b9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-241-2/+2
| | | | | Change-Id: I2280cd2c9c0e9c748a2ec8c0b1c38b4e13e7f30c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-231-2/+2
| | | | | Change-Id: I283477050f804d71cfcf7fe2e20cd3e138671e61 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-231-2/+2
| | | | | Change-Id: Icbef9f0320740fa1e3771cdfdc606a8396f0de07 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsQt Submodule Update Bot2021-04-211-3/+3
| | | | | Change-Id: Id92727bc6373e49e6cf23b9199ba7c2a58a4d1ea Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsensorsAlexandru Croitor2021-04-201-2/+2
| | | | | Change-Id: Iee5c386648d055f00bc74b85480d2696647867c7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Disable PCH on iOS pluginJuha Vuolle2021-04-201-0/+5
| | | | | | | | | | | If a target inherits precompile headers from a different target that has more languages enabled (CXX, OBJCXX), the target will depend on PCH artifacts for a language that is not actually present. Task-number: QTBUG-92502 Change-Id: Ib8d27a63d3f6e0afeb55f4ce3988edd6c0b8ce81 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Compile-config test for winrtJuha Vuolle2021-04-205-3/+99
| | | | | | | | | | | | | While winrt as a "windows phone" is not supported anymore, the APIs are available on windows and can be supported where applicable (bluetooth, positioning, sensors, ...). This commit adds a configuration tests for the presence of these headers and libraries. Task-number: QTBUG-92502 Change-Id: Ia6dcb0a6b8ecdbcf1d1bcf79e42f95ace75f6657 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* QtSensors initial cmake supportLorn Potter2021-04-19122-2901/+1828
| | | | | | | | | | | | | | | | | 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>
* Base commit to make QtSensors runnable on WindowsJuha Vuolle2021-04-1920-192/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Android: rename the java package name in manifestsAssam Boudjelthia2021-02-122-4/+4
| | | | | | Task-number: QTBUG-86969 Change-Id: I11bad2d6945e27a859b68471816ef428d3834189 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove two QChar related deprecation warningsJuha Vuolle2020-12-181-2/+2
| | | | | Change-Id: Ia2ecc159b8c53035673a7250230ed0a56bfa06a2 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Qt6 uses qsizetype for the qqmllistproperty size/indexesJuha Vuolle2020-12-181-2/+2
| | | | | Change-Id: Ifea53d932e1c5726c57dc31f0c7a40892db3501c Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* QAtomicInt load() and store() are removed in Qt6, change to *Relaxed()Juha Vuolle2020-12-171-2/+2
| | | | | | Change-Id: I719afb5243a6e4e8d54a7f82a74a0c6bf0207c98 Reviewed-by: Lorn Potter <lorn.potter@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add changes file for Qt 5.15.1Antti Kokko2020-08-251-0/+20
| | | | | | | | | | + 59e02539cf0f94bcdd0a1548a4d9234f47e09653 Bump version + e4eb2b4c6c7ae6a4b0221b0c152f2eab52822650 Add binary compatibility file for 5.15 for QtSensors Change-Id: Idab9f8c8377c6f20fd64f078940d0d8849289862 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 76fb972f600d9a2b4720a41fbec14955becc7885) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add ; to Q_UNUSEDLars Schmertmann2020-06-302-3/+3
| | | | | | | | This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I36a9c2a142b8485755b8849b839eac972e288bf6 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Use QList instead of QVectorJarek Kobus2020-06-259-21/+19
| | | | | | | Task-number: QTBUG-84469 Change-Id: I4ef3c22412f5978b3474c0ccd90bae08fd7f1297 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>