summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2020-03-101-3/+3
|\ | | | | | | Change-Id: I04bcb739fdaaaf4a4aa052b19cbd0b690b0c8947
| * Merge remote-tracking branch 'origin/5.14' into 5.15v5.15.0-beta4v5.15.0-beta3v5.15.0-beta2Qt Forward Merge Bot2020-03-071-3/+3
| |\ | | | | | | | | | Change-Id: Iab2eee7fbd86759c6f9512b79c65ca5dc773b748
| | * Doc: Make sure to advocate latest sensors importKai Koehne2020-03-061-3/+3
| | | | | | | | | | | | | | | Change-Id: I37f010fa8f9ab3f4b3c1f355110228ae1ce58dc3 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2020-02-291-1/+1
|\ \ \ | |/ / | | | | | | Change-Id: If4b8ecc6e59564b5cf82b91c56baef2c8b96511b
| * | Update plugins.qmltypes for 5.15Jani Heikkinen2020-02-251-1/+1
| |/ | | | | | | | | | | Task-number: QTBUG-82253 Change-Id: I38c24b441c3778ee316651ee5f5eaf6f3abf815d Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2019-12-103-26/+60
|\ \ | |/ | | | | Change-Id: Iba47a90c345bd18c156ae4bddfa6e9931ff98804
| * Fix QML API for sensor rangesUlf Hermann2019-12-033-26/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2019-11-021-1/+1
|\ \ | |/ | | | | Change-Id: I729fc3aca8aab817b3e98ddaffd979235308d16b
| * Update plugins.qmltypes for 5.14Kai Koehne2019-10-221-1/+1
| | | | | | | | | | | | Task-number: QTBUG-78690 Change-Id: If399aff73104144bfb4b5de74e64ed7b54f8f63d Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2019-10-121-1/+1
|\ \ | |/ | | | | Change-Id: Id6b9634106adce3e191a203d1f36ca95fc2c4a03
| * Fix library namev5.14.0-beta2v5.14.0-beta1BogDan Vatra2019-10-011-1/+1
| | | | | | | | | | | | Fixes: QTBUG-78616 Change-Id: I63ae0ef7d83cf2336ede280530de54688bf4fa76 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* | Merge remote-tracking branch 'origin/wip/qt6' into devSimon Hausmann2019-10-041-2/+3
|\ \ | |/ |/| | | | | | | | | Conflicts: .qmake.conf Change-Id: I6cf814d560665490574bd35d5ebfce911a46270f
| * Fix Qt6 buildwip/qt6wip/cmakeAlexandru Croitor2019-08-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | Modify all the qmlRegisterModule calls to use minor version 15 because minor version zero from 6.0.0 would make tests fail. This is similar to what was done in qtdeclarative in c147b20a2c1299b2d659fe7c9472ae3866b6a425. Change-Id: Ie46e7d5b6d4cd5e0e8c6eea5b3ebbbdd83343656 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-09-244-13/+14
|\ \ | | | | | | | | | Change-Id: I8ee039e82242d46979f8fe7f42164247cf494633
| * | Doc: Replace WinRT with UWP in Qt Sensors module docsLeena Miettinen2019-09-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The name of the platform offering in the docs was changed to "Qt for UWP", because WinRT is no longer supported. Task-number: QTBUG-61884 Change-Id: I9b824e630e040d1b9789981596c238615033fd69 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
| * | Doc: Remove non-existing arguments from docsLeena Miettinen2019-09-193-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...for QSensorGesture::detected() and QSensorGestureRecognizer::detected() Also, the Q_QDOC defines are not needed any more. Change-Id: I3fe2fb779caceeb41187815d272aca053af695b3 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* | | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-07-228-12/+64
|\ \ \ | |/ / | | / | |/ |/| | | | | Conflicts: .qmake.conf Change-Id: Ia190d8f7448766e964472599dc1adf5c6f0eabd7
| * Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-07-162-2/+2
| |\ | | | | | | | | | Change-Id: I882051b1e585c1af4a27930aa8c575ef641583b5
| | * Doc: Prefer public over private API in linksPaul Wicking2019-07-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This change uses the public API and removes references to private API. Task-number: QTBUG-76978 Change-Id: Ifd53dc520a38ff87b12271b7b446fd42753bb7f3 Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
| * | Merge "Merge remote-tracking branch 'origin/5.12' into 5.13"Qt Forward Merge Bot2019-07-113-3/+49
| |\ \
| | * \ Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-07-113-3/+49
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ic691e11af371acfb7706ee218665fb5a9f96a9c3
| | | * qmltypes: export humidity/distance interfaceGaurav Kalra2019-07-052-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-76133 Change-Id: Iae28989a509384c3fad0fe5b4222e5cc1068881c Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | | * Android: Don't crash for unsupported accelerometer modeKai Pastor2019-07-031-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to documentation, changing the mode shall have no effect when the device does not support a particular mode. Task-number: QTBUG-76862 Change-Id: I805daa3a3f659e8aed25e4b7b6531f804dd654b2 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
| * | | Doc: Replace example file lists with links to code.qt.ioTopi Reinio2019-07-091-0/+1
| |/ / | | | | | | | | | | | | | | | Task-number: QTBUG-74391 Change-Id: Iacab2b6735bef1d52c640cb7b3e51ae3aa010a56 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-06-271-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ib6ec0928ab14e075b35648ce0da4efc293be9c94
| | * fix typo that breaks android buildLorn Potter2019-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes: QTBUG-76384 Change-Id: Ib1977ea1371e3a82ca14d1c7c450984fa40cd71d Reviewed-by: Vyacheslav Koscheev <vok1980@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-05-111-6/+11
| |\ \ | | |/ | | | | | | Change-Id: I71deece5315cb9b29bd9bc72c3198c80c9d14442
| | * Do not register iio sensors if the dbus service is not foundLorn Potter2019-05-081-6/+11
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-74905 Change-Id: I78ca045d2723fa47dc2d0f9cc559320be84e5f32 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Remove usages of deprecated APIs from QDateTimeSona Kurazyan2019-06-277-14/+14
|/ / | | | | | | | | | | | | | | | | | | | | | | - Replaced QTime by QElapsedTimer, because of the usage of QTime::start() and QTime::elapsed() methods, which are deprecated. - Replaced the deprecated QDateTime::toTime_t() with QDateTime::toSecsSinceEpoch(). Task-number: QTBUG-76491 Change-Id: I625ce6bbc2718cd3c1b4905fecef9d75fdbab618 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Doc: Fix qdoc errorsNico Vertriest2019-04-303-3/+5
| | | | | | | | | | Change-Id: I989cc21bdbbd56c3b14b934b3256bda3a01a6764 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-04-261-2/+0
|\ \ | |/ | | | | Change-Id: I580be02701e5e4b5a57f59206d6a50cc98ddf220
| * Remove .jar dependenciesBogDan Vatra2019-04-261-2/+0
| | | | | | | | | | | | Fixes: QTBUG-75381 Change-Id: Iacd5760e176908645e1a49115e122f2e5e3469ca Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13v5.13.0-beta3Qt Forward Merge Bot2019-04-1333-1225/+906
|\ \ | |/ | | | | Change-Id: Iff501d1162491fafeb9aaf0a68927ade79b3b6e7
| * Say hello to Qt Android Sensors based on NDK APIBogDan Vatra2019-04-1133-1225/+906
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until Qt 5.9, we had to use JNI way because the NDK sensors API was introduced in API-16. Starting with Qt 5.9 we can safely use the NDK API as API_16 is the minimum API supported by Qt. Using the NDK API instead of JNI boost the performance a lot! The CPU usage dropped 2 to 4 times, from over 60% using the JNI to less than 20%. [ChangeLog][Android] Rewrite Qt Android Sensors using NDK API. Change-Id: If3e3f1e56973e2a189662912b2a6ebfbd71dee14 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Update plugins.qmltypes for Qt 5.13Kai Koehne2019-04-121-2/+2
| | | | | | | | | | | | Task-number: QTBUG-73739 Change-Id: Id3be3f2d116d7c1ef8541ced2b75043129b08ab5 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13v5.13.0-beta2Qt Forward Merge Bot2019-03-272-7/+7
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I5f26c3f31900ece899f9ce9870057eb5638c4b59
| * Doc: Fix name of global QML singletonUlf Hermann2019-03-202-7/+7
| | | | | | | | | | | | | | | | The module API is called "QmlSensors", not "SensorGlobal". Fixes: QTBUG-74571 Change-Id: Ia998082be99517393389ba3a9785150e97d9c15f Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devQt Forward Merge Bot2018-12-111-2/+2
|\ \ | |/ | | | | Change-Id: Ib7962e4b610df0423d5ca2d8c302f350d4b7ffdd
| * Update plugins.qmltypesKai Koehne2018-12-051-2/+2
| | | | | | | | | | | | | | | | No actual metadata has changed, but this update makes it easier to check that everything is in sync. Change-Id: Ib8cb8adbbf1288fc8e3d3495e5fc3bdaf89389af Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devQt Forward Merge Bot2018-12-042-0/+7
|\ \ | |/ | | | | Change-Id: Ibfc32051293768600890a744df4b41a8a56558f3
| * add missing QT_BEGIN_NAMESPACE and QT_END_NAMESPACELorn Potter2018-11-292-0/+7
| | | | | | | | | | | | Change-Id: I262ee674a240bba87e84e21ceb486cb12d53053d Reviewed-by: Lincoln Ramsay <a1291762@gmail.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | Compile-fix (g++ 8): move #include of mocs outside namespaceEdward Welbourne2018-11-2920-20/+29
| | | | | | | | | | | | Change-Id: I7a1697ff968d052a2a8268299db8fde4f9f34338 Reviewed-by: Lincoln Ramsay <a1291762@gmail.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | ios: silence warning (-Wobjc-interface-ivars)Richard Moe Gustavsen2018-11-151-2/+3
| | | | | | | | | | | | | | | | | | Move the variable to the implementation section to silence: "warning: declaration of instance variables in the interface is deprecated" Change-Id: I2381995d4fdaea83e0af6687faa140b249da3e3d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devQt Forward Merge Bot2018-11-031-6/+10
|\ \ | |/ | | | | Change-Id: I977f3428c7e979045abb4a70d8c185968fe08f72
| * Android: Implement calibrationLevel for QCompassReadingAndy Shaw2018-10-311-6/+10
| | | | | | | | | | | | | | | | | | [ChangeLog][Platform Specific Changes][Android] QCompassReading::calibrationLevel now returns a valid value when possible. Change-Id: Ia7b6af9fc14d4edc4ce04af251eb29c84f08b957 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Merge remote-tracking branch 'origin/5.12' into devQt Forward Merge Bot2018-09-251-1/+1
|\ \ | |/ | | | | Change-Id: Ia2080f82b1ed04535e198aab57ff08ef544072fc
| * iOS: remove iOS from compatmap for AmbientLight sensorv5.12.0-beta4v5.12.0-beta3v5.12.0-beta2v5.12.0-beta1Lorn Potter2018-09-201-1/+1
| | | | | | | | | | | | Task-number: QTBUG-70625 Change-Id: I6ae8520d2451c5e64a9e9648f86af2bf3957f9b9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devQt Forward Merge Bot2018-09-112-8/+21
|\ \ | |/ | | | | Change-Id: I03be2b98215d2180dc218cf78dabadada2930888