summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow easy building of platform-specific middleware.qt-v5.0.0-alpha1Lincoln Ramsay2012-03-271-0/+7
| | | | | | | | | This is a convenience for adding platform-specific middleware to a build. Set MIDDLEWARE to the name of the folder and it will be added to the build automatically. Change-Id: Ibd5a2b7d2abf652d7b35f95bdc8d53a0b28b567e Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* fix slam gesture to be downward only motion.Lorn Potter2012-03-264-14/+18
| | | | | Change-Id: I3b115ca075610e7ca63828d1b3cc3e72e3820d75 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* qshake[2]recognizer: Fix MSVC compiler warnings.Friedemann Kleint2012-03-232-8/+18
| | | | | | | | Warnings about conversion from qreal to bool, which is unintended. Change-Id: Iab668747d5d7cdeda57f934b90991e7b00914eac Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Remove compile warningsLincoln Ramsay2012-03-221-4/+4
| | | | | Change-Id: Ie98d22db40fb38742c3cd1fb0ae44fe1c0bbf2ec Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* whip is now too much like slam. so make whip be the old slam.Lorn Potter2012-03-226-65/+117
| | | | | Change-Id: Ib4be08e5fc828c24b00b0c90e0e9448603eef6bf Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* use const where possible.Lorn Potter2012-03-226-36/+36
| | | | | Change-Id: I2b78232c2ab25ebb7a931abcde18a9f01ff9c887 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* slam is now performed differently.Lorn Potter2012-03-226-100/+66
| | | | | Change-Id: Ib04655cdc16a0f8fea73b88cf8e36d0f00ce16f3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make slam easier and re-add orientation stuffLorn Potter2012-03-204-14/+38
| | | | | Change-Id: I7703a6abc537f317aa1186c919494faa866137fd Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Better/consistent progress messagesLincoln Ramsay2012-03-202-99/+101
| | | | | Change-Id: Ia71df7c244578818421e301924b52de1f33f1691 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* fix documentsLorn Potter2012-03-201-2/+2
| | | | | Change-Id: If07ca2c2c60178fa769cbaf9ac31079d7a9414bd Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* The variable is QT_SENSORS_LOAD_PLUGINSLincoln Ramsay2012-03-201-1/+1
| | | | | Change-Id: Ib9c52aff575cab9ef409e265e90e3c28aa517107 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* un-pin qtbaseLincoln Ramsay2012-03-201-1/+1
| | | | | Change-Id: I6f05561a744ae5342a83b810894cfcaddbe69e89 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Use an environment variable to suppress loading of plugins.Lincoln Ramsay2012-03-193-46/+9
| | | | | | | | This removes the last use of the sensors_unit_test_hook function so it can be removed. Change-Id: I9f0b27fc69bfe74a151826714e3a1c0e207a7e0c Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Don't use the platform sensors for this unit test.Lincoln Ramsay2012-03-192-12/+13
| | | | | | | Turn off plugin loading and supply test backends. Change-Id: Ib8cf96d26f4e42b3cc48728eae53511430eb3a5a Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* pin qtbaseLincoln Ramsay2012-03-191-1/+1
| | | | | Change-Id: I61009a2c37d37ee84110acb825e5c2768775f5a5 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Update QML plugins to the new style.Lincoln Ramsay2012-03-1612-11/+20
| | | | | Change-Id: Ie419b58c4789e539be5370dc0b7d2518009bbe91 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Use the new plugin mechanism for Sensors and SensorGesturesLincoln Ramsay2012-03-1646-121/+98
| | | | | | | | | | | | | | Plugins no longer use QFactoryInterface or Q_EXPORT_PLUGIN. Instead, Q_PLUGIN_METADATA is used. Meta-data is provided through a .json file that is embedded into the plugin by moc. For now, this meta-data is not actually used because both sensors and gestures use a dynamic registration mechanism. Change-Id: Ic82657e2ba5768127e13f7411ca51f60772781d8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove QSensorPluginLoaderLincoln Ramsay2012-03-165-190/+10
| | | | | | | | 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_PLUGINLincoln Ramsay2012-03-164-66/+0
| | | | | | | | This API was never particularly reliable. It is somewhat incompatible with the new-style Qt plugins. Change-Id: Iaaa0e6282404ce5477abcc8b905b14b1fb58644c Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove REGISTER_STATIC_PLUGIN_V2Lincoln Ramsay2012-03-167-92/+47
| | | | | | | | | | | | | | | 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>
* Remove QSettings usageWolfgang Beck2012-03-164-33/+63
| | | | | Change-Id: Ifec28d4de4af4c5a114c66faaababaaeb57ad357 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove compile warningsLincoln Ramsay2012-03-155-13/+32
| | | | | Change-Id: I38c7b14653b96e905491a3fe589ece4aa027aed8 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* add some testing for sensorgestureplugins, however feeble.Lorn Potter2012-03-145-6/+275
| | | | | Change-Id: I4758f401cbf577b2ac7ba772f4897e6334f22900 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Docs: fix \e problem by not including compat.qdocconf file.Peter Yard2012-03-092-2/+2
| | | | | Change-Id: I24e7031a0138be40caa2b3e2edc98ec53489850c Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Fix display of Grue app.Lincoln Ramsay2012-03-084-7/+23
| | | | | | | | | | Don't just assume a white background will be set. We're now using a black background with white text. Fade in a grue as your chance of being eaten increases. Change-Id: I47af31f2f0092136ce3da377e1c6ffc21af07496 Reviewed-by: Daron Andrew Edie <daron.edie@nokia.com>
* fix some issues and make whip easierLorn Potter2012-03-086-52/+64
| | | | | Change-Id: I14f84219e07bcede9badc4f02566f38533084009 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Rename declarative symbols.Lincoln Ramsay2012-03-0823-80/+80
| | | | | | | Use the script rename-qtdeclarative-symbols.sh. Change-Id: Ib1a62731a6c95590978a488c4afbd804f14fb958 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Some example files moved, update the docs.Lincoln Ramsay2012-03-051-6/+6
| | | | | Change-Id: Ic494f0ac55b04829977cde95cb3bf3185d1352cc Reviewed-by: Peter Yard <peter.yard@nokia.com>
* fix crash by initializing orientationReading variableLorn Potter2012-03-055-14/+24
| | | | | Change-Id: I50fe25627bb761bfb5cb27c882946c13cdbcf56a Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Change bugreports.qt.nokia.com -> bugreports.qt-project.orgSergio Ahumada2012-03-021-1/+1
| | | | | Change-Id: Iba572fa483fff03877336600112414971296f933 Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* Remove the usage of deprecated qdoc macros.Casper van Donderen2012-03-0116-187/+187
| | | | | | | | | | QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I9e809abef666b8498bc481aae9f324b954eff387 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* share sensors among the recognizers in QtSensors recognizer.Lorn Potter2012-03-0124-296/+642
| | | | | Change-Id: Ie08046de2e293b8b6271851ce8b740832a6de315 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Allow opening examples directly from Qt Creator.Lincoln Ramsay2012-02-2910-0/+20
| | | | | | | | The MT_SYSROOT environment variable is set in this case so we can use this to set the correct installation path. Change-Id: I923b1ea97468414a123c97a01b0405604827a99b Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* small tweaks for simulatorLorn Potter2012-02-284-18/+74
| | | | | Change-Id: If2114b6917328e1342c5a2496daf9588393a8018 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Docs: allow standalone builds of documentation.Peter Yard2012-02-2745-0/+4180
| | | | | Change-Id: Iafd4dd55fbbf726e8991365b154e36642cc2688a Reviewed-by: Alex <alex.blasche@nokia.com>
* add more information about gesture recognizer development.Lorn Potter2012-02-271-1/+39
| | | | | Change-Id: Idf24c9227b69bfe05e83ec03f762c1fc055219b9 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Rescale cubhouse exampleWolfgang Beck2012-02-272-11/+12
| | | | | Change-Id: I366777d7788a55b5a6fcad194d5833a19a6cf4b3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Update the examples.Lincoln Ramsay2012-02-2758-311/+137
| | | | | | | | | | | Use .pro files, no .qmlproject files. Remove unused settings.json and notions.json files. Install to EXAMPLES_PREFIX when it is defined. Dest paths match info.json identifiers. No execute bit on non-executable files. Change-Id: Ib09320bd976b8aec7512531ce11ed92f05912dde Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* updated gesture testsDaron Andrew Edie2012-02-241-21/+44
| | | | | Change-Id: I9390ac600dcc2bb7a0b583a1350bcb538574b868 Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Revert "Disable unit tests that rely on plugin loading."Lincoln Ramsay2012-02-231-4/+4
| | | | | | | | | | The underlying problem has been identified and fixed. It turns out QFactoryLoader had a logic error. This reverts commit fbc2e2ca805b97bdbef4a3b6b6a276215ba668df. Change-Id: I419f0cd72b65d55b81a2f8896d5b77328bc9e5cb Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add links to sensor gesture descriptions and fix up other links.Lorn Potter2012-02-215-11/+18
| | | | | Change-Id: I7edef31ceeef79ce117cc214143a53385d0634ce Reviewed-by: Alex <alex.blasche@nokia.com>
* optimize some gestures more. stop colliding.Lorn Potter2012-02-219-159/+150
| | | | | Change-Id: I77580905f460e87cc796df66f5cdf02156b7cca6 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Fix lots of small qdoc issues in Sensor docsalex2012-02-2013-73/+96
| | | | | Change-Id: I26dd869ffac45155d834ac2046edc93dae926aef Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* sqrt => qSqrt, atan2 => qAtan2Lorn Potter2012-02-204-13/+13
| | | | | Change-Id: I2da59daada99184a166967fb0fe45fc5bae7eba1 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Change QtSensors title to 'Qt Sensors' so it can link from landing page.Peter Yard2012-02-201-1/+1
| | | | | Change-Id: I8fb04d5a800ddff756dbad089a2b1571a69b77da Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Update REGISTER_STATIC_PLUGIN_V2 (compile)Lincoln Ramsay2012-02-174-31/+90
| | | | | | | | | | | | | | | | | | 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>
* Disable unit tests that rely on plugin loading.Lincoln Ramsay2012-02-171-4/+4
| | | | | | | | | Plugin loading seems to be broken. We need to get a compile fix through but it won't go while the unit tests are failing. Just turn them off for now and they can go on when plugin loading has been fixed. Change-Id: I9cde13540ca82515d119b11316afe66b62b7f968 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Locate sensor explorer QML appLincoln Ramsay2012-02-151-17/+7
| | | | | | | | | It moved but the example page was looking in the wrong location. Since there is now one directory that holds the entire example, we can collapse 3 pages into 1. Change-Id: Id02844e88042436129c1e644d364a0c32fc71824 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* use qAbs instead.Lorn Potter2012-02-155-15/+15
| | | | | Change-Id: Ibcc49c56d558563737d2d94a87425e65d0689c1e Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Build fixYuchen Deng2012-02-151-3/+3
| | | | | | | | | | | error C2668: 'abs' : ambiguous call to overloaded function could be '__int64 abs(__int64)' or 'long abs(long)' or 'int abs(int)' while trying to match the argument list '(qreal)' Change-Id: Ie279096145d3d1cd5cd689555d70508f068f5f47 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>