summaryrefslogtreecommitdiffstats
path: root/src/sensors
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.12' into 5.13v5.13.0-beta2Qt Forward Merge Bot2019-03-271-1/+1
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I5f26c3f31900ece899f9ce9870057eb5638c4b59
| * Doc: Fix name of global QML singletonUlf Hermann2019-03-201-1/+1
| | | | | | | | | | | | | | | | 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-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>
* | 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>
* | QSensorGesture: Add Qt 6 fixme comment asking to make QObject virtuals publicFriedemann Kleint2018-09-041-0/+1
|/ | | | | | | | | Qt for Python cannot currently be generated for the class since QObject::metaObject() is private. Task-number: PYSIDE-487 Change-Id: Ib368aa79bb3cd9b912d48455880d2f8ea9425f70 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Bump Qt sensors qml import versions in doc and qmltypesAlex Blasche2018-04-191-2/+2
| | | | | Change-Id: If3027bc22486bec4b4b02eea85497578c8bb1b1a Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Doc: Remove incorrect \relates commandv5.11.0-beta4v5.11.0-beta3Topi Reinio2018-03-261-1/+0
| | | | | | | | | QDoc cannot handle the case of setting a class to be related to another class (unless they are nested); adding \relates to another class will overwrite the class output page. Change-Id: I9978b915b339e4e1baafb708012b6fdf9a3b9aad Reviewed-by: Martin Smith <martin.smith@qt.io>
* Doc: Fix libclang related warning for templated methodPaul Wicking2018-03-201-1/+1
| | | | | | | Corrected method signature in documentation. Change-Id: I86343f9e0bd4df04a4c24f6d7c02be663ebac0d9 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Merge remote-tracking branch 'origin/5.10' into devLiang Qi2018-01-201-1/+1
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I17dec1cd2d4934710663e5fa97c926a65fe301e5
| * Doc: correct clang error messageNico Vertriest2017-12-191-1/+1
| | | | | | | | | | | | | | qsensorbackend.cpp:149: (qdoc) warning: clang found diagnostics parsing \fn QSensorBackend::setReading(T *reading) Change-Id: I274c9eea76eab9071f47d8bebcfd163d5867281a Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | Add missing override and remove redundant virtualAlexander Volkov2017-11-147-17/+17
| | | | | | | | | | Change-Id: I51c0fc424f44ae68c3c1c4cf6377e7701ee5a0dd Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | add sensor plugin for TI sensortagLorn Potter2017-10-021-0/+21
| | | | | | | | | | | | | | | | | | | | | | [ChangeLog][QSensorBackend] Support for TI Sensortag sensor board. Introduce env var QT_SENSORTAG_ID for specifying a specific sensor tag. On mac, this is the sensortag uuid, on linux it is the sensor tag's bluetooth address. Change-Id: I7c5db8dac15ddbfdb0709bd6462759b4a70d32b7 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Replace Q_DECL_OVERRIDE with overrideKevin Funk2017-09-212-2/+2
| | | | | | | | | | Change-Id: Ib258bbc787f43e563fff8af8151ceae87471c672 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Android: remove support for local/debug deploymentJake Petroules2017-09-061-2/+0
|/ | | | | | | | | | | | | | This removes the pre-dexed JAR files activated by the absence of the bundled_jar_file CONFIG option, as versions of Android >= 5 no longer support this deployment mechanism. Now, the "bundled" JARs simply become normal JARs containing class files, and are neither activated by a bundled_jar_file CONFIG entry nor do they have a -bundled suffix in the file's base name. Task-number: QTBUG-62995 Change-Id: I23fe81254efee5517453f73b1938026257ddb7a6 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* Doc: Update the compatibility table to show Universal Windows PlatformLeena Miettinen2017-06-021-22/+1
| | | | | | | | | | | ... instead of Windows 8/RT and Windows Phone Task-number: QTBUG-60607 Change-Id: Ia0ca4fcba07e52d712dc176199aa6433c04e5aca Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Fix licensingJani Heikkinen2017-05-1021-320/+311
| | | | | | | | | | | | | | | | | - 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>
* Doc: fix warnings about parametersv5.9.0-beta4v5.9.0-beta3v5.9.0-beta2v5.9.0-beta1Nico Vertriest2017-03-292-2/+2
| | | | | | | | | qaccelerometer.cpp:271: undocumented parameter 'accelerationMode' in QAccelerometer::accelerationModeChanged() qsensor.cpp:546: undocumented parameter 'skipDuplicates' in QSensor::skipDuplicatesChanged() Change-Id: I31d841a8e7ecce6ae875cb92414866398d8653c4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Merge remote-tracking branch 'origin/5.8' into devLiang Qi2016-12-1219-26/+60
|\ | | | | | | | | | | | | Conflicts: src/plugins/sensors/ios/ios.pro Change-Id: I8d9ca692713c8ba5d8c243371474b0e61630b05e
| * Replace Q_DECL_OVERRIDE by overrideAlexander Volkov2016-12-0216-20/+20
| | | | | | | | | | | | | | 'override' keyword can be used directly since Qt 5.7. Change-Id: Ibf0fc590f7e247a310a833a22ece700ec75199bb Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-11-261-2/+8
| |\ | | | | | | | | | Change-Id: I912756c6bbecf7c55acd60d136ea6ce490118ebb
| | * Merge remote-tracking branch 'origin/5.6' into 5.75.7Liang Qi2016-11-241-2/+8
| | |\ | | | | | | | | | | | | Change-Id: I77e9c7f825716af5ab4a1c04551f89e22099696e
| | | * Fix broken link in QMagnetometerReadingChristian Strømme2016-11-221-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The link, which describes how to calibrate the magnetometer sensor, is no longer available. As a replacement we now provide a generic approach for calibrating, and recommend that the user checks their device's documentation for more information. Change-Id: I04de5fba76b88fb7417d180ffe1f2c8c249610e5 Task-number: QTBUG-57184 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * | | Port qtsensors to the new configure frameworkJake Petroules2016-11-072-4/+32
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Don't invoke pkg-config at build time, automatically check for sensorfw and compile the correct plugin if found. Change-Id: I30dcd41cdebd7cf082cec66f3122c24fbab5c893 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
* | | [ChangeLog][QtSensors][QSensor] Add new sensor: lidsensorLorn Potter2016-11-215-1/+353
| | | | | | | | | | | | | | | Change-Id: I57123eed34ee4618f1cba643c2ce49c8c621a6cd Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | | QHumiditySensor will be added by Qt 5.9Alex Blasche2016-08-312-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | [ChangeLog][General][QHumiditySensor] Added QHumiditySensor sensor API. Change-Id: I6dcac53d75ec427fd585de082f4e3a5adb2ebde2 Reviewed-by: Lorn Potter <lorn.potter@canonical.com> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | | Add QHumiditySensorLorn Potter2016-08-274-1/+356
|/ / | | | | | | | | | | | | Task-number: QTBUG-53635 Change-Id: I089a793de1c7f7b7224aa1bb6772b6e54a44237c Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-05-191-1/+1
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I6c75a1a2f39fc3490087c1bad07325c79b0c79d2
| * Doc: Remove repository name from examplesinstallpathTopi Reinio2016-05-131-1/+1
| | | | | | | | | | | | | | | | Examples in binary packages now directly match the install path. Change-Id: Ib617462a75ba94ff32689c8cc8f0fb10e2db4431 Task-number: QTBUG-52953 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-03-0726-37/+37
|\| | | | | | | | | | | | | Conflicts: src/sensors/doc/src/compatmap.qdoc Change-Id: I7bd464cbd506f630798091fef3896050ade7b3f8
| * Make more ctors explicitMarc Mutz2016-03-032-2/+2
| | | | | | | | | | | | | | | | | | Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. Change-Id: Iadcd2f1c751bb5a9cef96b2732bb3a7a8e34c6f8 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * Make public headers compile with -Wzero-as-null-pointer-constantMarc Mutz2016-03-0322-25/+25
| | | | | | | | | | | | | | | | | | | | | | ... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Task-number: QTBUG-45291 Change-Id: Iaa6ea07220566adc323010c52233416e6ae2b726 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * Cleanup dead links in QCompassReadingAlex Blasche2016-03-031-2/+2
| | | | | | | | | | | | | | Task-number: QTBUG-50165 Change-Id: I7a5e195ad5ea4d390609303e9ae7c047ecbf2399 Reviewed-by: Lorn Potter <lorn.potter@canonical.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
| * Update supported sensors table for iOSAndy Shaw2016-03-011-4/+4
| | | | | | | | | | Change-Id: I3885849352a59a23989605f0e62a594bd4c61db1 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| * Purge sRGB chunks from PNGs in documentation.Edward Welbourne2016-03-011-0/+0
| | | | | | | | | | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce -force Change-Id: Ie54ce7153b23632cf2673f6f82ae8b3e4dec6e67 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * don't over-expose private dependenciesOswald Buddenhagen2016-02-251-1/+1
| | | | | | | | | | Change-Id: I6045425fb467002db288854f9d0a8f8ea683876f Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * consistently put {qt,qml}_{module,plugin} at the end of project filesOswald Buddenhagen2016-02-251-5/+5
| | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-alpha1Liang Qi2016-02-192-2/+1
|\| | | | | | | | | | | | | | | Conflicts: .qmake.conf src/sensors/doc/src/compatmap.qdoc Change-Id: I4049bc3c335a8a9db5c935032207d0bcfba78480
| * Android: Document that Compass works on AndroidAlex Blasche2016-01-041-1/+1
| | | | | | | | | | | | Task-number: QTBUG-50165 Change-Id: I1fedc47b19832c8c8400ca28314e2a374d5714de Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
| * Doc: Remove an obsolete external link.Venugopal Shivashankar2015-12-171-1/+0
| | | | | | | | | | | | Change-Id: I88eba8f9d5ad0633bf58692245c80cc767d2ab67 Task-number: QTBUG-50013 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-2077-1078/+1540
| | | | | | | | | | | | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Id129b1497aa9d61fd16332e3b324f28dcf7bdd5b Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | QSensorManager: use prefix ++ for iteratorAnton Kudryavtsev2015-12-091-1/+1
| | | | | | | | | | | | | | because it's useful for non-primitive types Change-Id: I2907a40956935abdd59b0d90bb5ab215d49c1029 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Merge branch '5.6' into devAlex Blasche2015-11-261-1/+1
|\| | | | | | | Change-Id: I6799d8791b7b67b4151697b63bdb3c0f83d39392
| * Doc: Update examplesinstallpath to include the repository nameTopi Reinio2015-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The examplesinstallpath variable in .qdocconf files defines the path under QT_INSTALL_EXAMPLES where examples are found. To match the way examples are packaged in Qt 5.6, prefix the install path with the repository name. Task-number: QTBUG-48736 Change-Id: I233a6d60edee3378231a9419c6de49fba17bdea2 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
* | Merge remote-tracking branch 'origin/5.6' into devLiang Qi2015-10-143-12/+12
|\| | | | | | | Change-Id: I4286dcb9262bf38960ff3852932012718aaa5d65
| * doc: Fix "Qt Sensors Backend" pageAlexander Volkov2015-10-081-8/+6
| | | | | | | | | | | | | | | | | | | | Remove "Backend API" section, it's actually "Overview". Manually create the "Backend Topics" list as it's typically done in the Qt documentation. And by removing superfluous directive "\generatelist related" we avoid the duplication of the topics list. Change-Id: I82de56cd80fa6b8719f85d3a01c07bac3d9d6c1a Reviewed-by: Martin Smith <martin.smith@digia.com>
| * Fix registration of the ambient light sensor in the generic pluginAlexander Volkov2015-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | It should be registered/unregistered depending on the availability of the default light sensor rather than the default accelerometer. Also mark the ambient light sensor as supported by the generic plugin in the documentation. Change-Id: Iff3828140b9549d994563fb736014091e568e867 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
| * Doc: Added \section1 before the auto-generated list of QML typesVenugopal Shivashankar2015-10-051-3/+5
| | | | | | | | | | | | | | | | | | To avoid a qdoc warning about the QML snippet structure, commented out the line with '...' in \qml \endqml block. Change-Id: I5f2124f374c441f8aac64322df251c70ba3cba3a Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>