summaryrefslogtreecommitdiffstats
path: root/src/sensors/sensors.pro
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2014-04-111-2/+2
|\ | | | | | | Change-Id: I07a6842afc72f56c82e82906429fa422f9a82de2
| * Simplify building of simulator based codeAlex Blasche2014-04-071-2/+2
| | | | | | | | | | | | | | | | | | There is no need for the CONFIG+=simulator logic anymore. qtHaveModule() is an automatic way of doing the same. Change-Id: Ibe87abb93e036a82fae3a752d9886c58ccebeec1 Reviewed-by: Rainer Keller <rainer.keller@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Create a new sensor type for distance.Andrew Inwood2014-03-281-2/+3
|/ | | | | | | | | | | | | | | | | | | Create a new sensor type for distance. This sensor type supports new hardware sensors that can measure physical distance from the device, in centimeters. The API is designed to mimic the Android API for proximity (TYPE_PROXIMITY), so that if a given proximity sensor only supports a binary measurement (near vs far), then instead of reporting distance in cm, the QDistanceSensor will return the max range value to represent far, and a lesser value to represent close. Using this definition should simplify implementation. The main reason for not implementing this as a new property of QProximitySensor is that clients of QProximitySensor have made the assumption that they will receive the readingReady signal if and only if the reading has changed from near to far or vice versa. Adding a distance property will break that assumption, as distance has a higher degree of precision. Change-Id: Ia804948c78ff7391fc8b78df975cddcf861326dc Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Make it possible to bundle Android buildsEskil Abrahamsen Blomfeldt2013-05-061-0/+5
| | | | | | | | | Add the bundled jar file and information about required plugins. Task-number: QTBUG-30751 Change-Id: I41918e8f04449439703ef1ae91c78636e9475f36 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Sensor implementation for AndroidPaul Olav Tvete2013-03-051-0/+5
| | | | | | | | | | | | | | | Based on the Necessitas project by Bogdan Vatra. Contributors to the Qt5 project: BogDan Vatra <bogdan@kde.org> Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Paul Olav Tvete <paul.tvete@digia.com> The full history of the Qt5 port can be found in refs/old-heads/android, SHA-1 caa4103a80ef90db5eb9836f6b6028b7ce36c73a Change-Id: I57e772ee5079c0ea74f685b65ae2864d73e7c750 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Add a QAmbientTemperatureSensor class.Thomas McGuire2013-02-081-0/+1
| | | | | | | Port the Blackberry backend to use it. Change-Id: I6d4395f5ab9e0ce3fb6f76c47282929103929557 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Add a QAltimeter class.Thomas McGuire2013-02-081-0/+1
| | | | | | | Port the Blackberry backend to use it. Change-Id: I3d3bc1d6fa8b42d3d0d64bcd3245050b67a37dc7 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Add QHolsterSensorThomas McGuire2013-01-231-0/+1
| | | | | | | | | | This adds a new QHolsterSensor plus the assorted reading and filter classes, as well as a QML API. Also implement the Blackberry backend for it. Change-Id: I42e76c21ee74a39a65629e7ab6d9a18f23eae4d4 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Add QPressureSensorThomas McGuire2013-01-231-0/+1
| | | | | | | | | | This adds a new QPressureSensor plus the assorted reading and filter classes, as well as a QML API. The Blackberry backend is ported to use the new reading class. Change-Id: Ifc86a2ae955a9337a67fd9a86ceabab908917cb3 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Doc: Modularized the Qt Sensor DocsGeir Vattekar2012-10-121-1/+1
| | | | | Change-Id: Ie8636ec443f43b1f238342e0f6f7d321e13dce09 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Update docs after modularization of docsTor Arne Vestbø2012-10-111-2/+2
| | | | | | | | The global files now live in qtbase only, and are made available to the other modules via the $QT_INSTALL_DOCS variable. Change-Id: I4f77194f9c1e0c65636430ac22de3241b49d4641 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Add TiltSensor to QtMobility.sensors 1.3Lincoln Ramsay2012-10-031-0/+1
| | | | | | | | | | | This has been adapted from the TiltSensor type in QtSensors 5.0 import but the code there has been split into multiple pieces. There's a C++ class, a generic backend and a QML interface. Change-Id: Ic09465a5f76250a02a13938abe4789958137376f Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* centralize load(qt_build_config)s in .qmake.confOswald Buddenhagen2012-09-131-2/+0
| | | | | Change-Id: Ieaa07fcaf28f754c14774dee61697624d33cabf8 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* follow rename of qt_module_config.prf to qt_module.prfOswald Buddenhagen2012-08-111-1/+1
| | | | | Change-Id: I98306597742599532bf01d339f8c7807437f59dc Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* build system cleanupsOswald Buddenhagen2012-06-261-9/+3
| | | | | | | | | | | | | | | | | - load(qt_module) => load(qt_build_config) - remove: - CONFIG+=module (obsolete) - code relating to module version headers (automated now) - %mastercontent assignment (automated now) - QT_BUILD_*_LIB defines (automated now) - pointless QPRO_PWD assignments - pointless DEFINES+=QT_MAKEDLL - pointless include and depend paths Change-Id: I2c5062c238c6948f99d72f7c5544095cd30c988d Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* auto-generate module prisOswald Buddenhagen2012-06-261-3/+1
| | | | | | Change-Id: I89ccb6cd05e58a1790480d5ea9c613ace4f42373 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* Cleanup last Symbian remnants in QtSensorsalex2012-06-221-17/+0
| | | | | Change-Id: I35eb858cad41167ac6bbbf17e48571965f34f8ca Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Hook doc generation into global QMAKE_DOCS contextalex2012-06-221-4/+1
| | | | | Change-Id: I3b654018a9d29719e56b928205f441e193fc01a3 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* make simulator work better with gestures.Lorn Potter2012-04-271-0/+10
| | | | | | | | code from the plugin has been moved into the manager so that every other plugin can be triggered by the emluator. Change-Id: I37232ab6d45a027541ab1b5c504b2844049ba522 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Allow setting the config file location explicitly.Lincoln Ramsay2012-04-121-0/+1
| | | | | | | | This is a workaround for platforms where QStandardPaths is either broken or returning paths that aren't useful. Change-Id: I4f7fbb0ea068d0bf13dc4f572ddbd25ad6048053 Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Remove QSensorPluginLoaderLincoln Ramsay2012-03-161-2/+0
| | | | | | | | This class does virtually nothing except to hide the use of QFactoryLoader from QSensorManager. Change-Id: I70e791f9d842102204fd970e7806f409ae1eca65 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove REGISTER_STATIC_PLUGIN_V2Lincoln Ramsay2012-03-161-2/+1
| | | | | | | | | | | | | | | This was never officially part of the public API. Remove it from public headers so that it is not accidentally used. This macro cannot be used with the new Qt plugins. There are 2 unit tests that use this mechanism and for this reason, loading of static, legacy plugins will continue but they will use internal logic to achieve this rather than a macro defined in a public header. Change-Id: I3fadcc1ca5c22ea0fc3660584ddba28271d18a89 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Update REGISTER_STATIC_PLUGIN_V2 (compile)Lincoln Ramsay2012-02-171-1/+2
| | | | | | | | | | | | | | | | | | Ideally, this macro would only consist of a Q_EXPORT_PLUGIN / Q_IMPORT_PLUGIN combination but there is no 'static' version of Q_EXPORT_PLUGIN available unless we're a static build of Qt. Thus, this macro duplicates the logic from the correct Q_EXPORT_PLUGIN macro here. Use the new code so that we can compile apps that use REGISTER_STATIC_PLUGIN_V2 (like the unit test). Using an ifdef so we don't break people who haven't updated qtbase yet. Refactor the headers so we only have 1 copy of this macro. Change-Id: Id8c69833029bdd54b66d24dea878b0603b0cb6e9 Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* add QSensorGestures API. Long live QSensorGestures!Lorn Potter2011-11-011-2/+17
| | | | | | Change-Id: Iada4e8888aad8b7b2180cc0bfb8576a766f75b24 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* First step of removal of Q_SENSORS_EXPXORT macro from qglobal.halex2011-10-171-0/+1
| | | | | | | | | Each module handles its own exports. We need to change the QtSensors version, remove the qglobal.h define and then add it back under the old name in QtSensors. Change-Id: I4183b7fcfc46469745c11c373d3122f02d64ccc7 Reviewed-by: Alex <alex.blasche@nokia.com>
* Add QIRProximitySensor to the sensors libraryzsimon2011-10-101-0/+1
| | | | | | | | | This class was unofficially present in Mobility 1.2 Change-Id: Id1f3b551f428742febfba46769decf4b8f7d9a23 Reviewed-on: http://codereview.qt.nokia.com/4223 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* remove usage of QT_SOURCE_TREE from sensor moduleAlex2011-06-081-1/+1
|
* Fix typo in MODULE_PRI (sensors.pro)Alex2011-05-231-1/+1
| | | | This fixes integration issues with other Qt modules.
* Fix Qt coding style issuesAlex2011-05-201-1/+1
|
* Add the first version of QtSensors to Qt 5Alex2011-05-201-0/+77