| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change-Id: I270fdd3681cbfedef6ccd05a7391b57821524b30
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Some extra fields added, and some removed, so that the app runs
on device. Also added iPhone6/6+ support.
Change-Id: I7e2d0337a162a45f1ba37f16ad8ef902b61c7719
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: I141862df4ed2475c05ebbeb8fe447c4a6e736849
Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I23232dcb9d13605f973144f64ffb93b0d9013c65
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
The example doesn't offer much example value. The accelerometer is
presented by the accelbubble example too but doesn't have all the
Qt3d dependencies. Cutting those dependencies is much cleaner.
Task-number: QTBUG-31076
Change-Id: I074b24974cbd630d7b6ccc9eb21d8cabc96da86c
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.) Remove dependency on QtSystemInfo. The module is not officially
supported at this stage and screen saver related code is not really
required for the example.
2.) Add AndroidManifest.xml to lock the screen orientation in portrait
mode. Since the example depends on the tilt sensor a rotating UI is
messing the game up.
3.) Port app to current TiltSensor API.
The game works but its biggest problem remains the UI. It uses
fixed-size UI elements which makes it tiny on High DPI screens.
Task-number: QTBUG-31076
Change-Id: I73df9361b5171da930df66072e8ee9eba89b71ad
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- Renamed LICENSE.LGPL to LICENSE.LGPLv21
- Added LICENSE.LGPLv3 & LICENSE.GPLv2
- Removed LICENSE.GPL
Change-Id: I99c601a398559886c2900f3e04833acfceba8263
Reviewed-by: Antti Kokko <antti.kokko@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
|
|\
| |
| |
| | |
Change-Id: I0a9d2e3cbcbe5adcbfc1dbcef3a9d3e7f52d4b90
|
| |
| |
| |
| |
| | |
Change-Id: Ia3f6bdd494b3d167121bd8ee80f81c031a81f45a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Invalid sensor data is NaN, and should be ignored.
Change-Id: I6436bdd494b3d167121bd8ee80f81c031e60743e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|/
|
|
|
|
| |
Task-number: QTBUG-38224
Change-Id: I3c7a3d0b3a47696aeb2eee799ae119419ea60713
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
needed for automatic static linking (and later deployment).
the gesture plugins are excluded from the automation based on the
assumption that they are usually not needed.
the example and the test plugin are also excluded for obvious reasons.
Change-Id: I7645aa0daf216ce430989e13d4380dbe6dd2bbd1
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
| |
On Android we have to do that via a custom AndroidManifest.
Change-Id: If436bdd494b3d167121bd8ee80f81c031a81f5d5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
|
|
|
|
|
|
| |
Change-Id: I8d3b0c84091cf7743164c083318e0a115e948d1c
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
| |
Change-Id: I8541601c0bfe2b7c80e88b4617e8215b266fb0bd
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Qt Sensors examples that include additional QML modules fail
to run on Windows, because the application located under a
debug or release subdirectory does not see the module import
path.
This change fixes the issue by adjusting examples' DESTDIR
on Windows builds.
Task-number: QTBUG-33875
Change-Id: Iab8ebc1acd80cf4fe88a7a35b44c42f767da5ccf
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following changes are made to the example
- Use of Qt Quick Controls / TableView to present the sensor
information, reducing the example to a single QML file
- Updated launcher main.cpp for the QML example
- Remove separate example doc for the import subproject
- Various fixes to example doc, add a screenshot
- Ensure import module + qmldir are built/deployed to
correct location
Task-number: QTBUG-32881
Task-number: QTBUG-33875
Change-Id: I0ed7c7ebc916fcad6da5e3c66d81be8f348a93e1
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
Fix warnings, fix property names and strings shown in
the UI. Also touch the documentation and correct a
typo in the qdoc file name.
Task-number: QTBUG-33877
Change-Id: Ie790708ac4d1f8d72af03b52ee361d0bf3994adc
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
| |
For the example a QML plugin with the same
name is created, which just differs in case.
Windows does not support case sensitive files/folders.
So QNX compile under windows fails.
Change-Id: I20283fd9ebb125475c5e7ba19a35a67569785c69
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
It should be $$DESTPATH, not $$DESTDIR, otherwise the build will
install files to wrong locations like debian/tmp/build/buildd/...
when building Debian packages.
Change-Id: Iae1bd2d190dd1653f06d0f043f1b701b7cb46eb4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|\
| |
| |
| | |
Change-Id: Ie5c68600ed2b7d6145497dcbceae5f320f7eea6f
|
| |
| |
| |
| |
| | |
Change-Id: Ie3087e97815ee59df4af732ce3b663ad283966bf
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a number of issues with the example:
- Add \omit to generated doc sections, we don't want
qdoc to process these (not part of Qt docs)
- Combine the 5 separate examples into a single \example
and discuss each subproject in a subsection
- Add example image to doc
- Fix deployment/build target directories and import paths
- Define a 'reading' property for the sensor to make it work
on QtSensors 5.1
- Fix the Grue QML application to avoid flicker from frequent
updates.
Task-number: QTBUG-32881
Change-Id: I2785faead1baaf5b1ae9d05df3398e018e945418
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|\ \
| |/
| |
| | |
Change-Id: I7a9c32e8314fe1f753e40464cc5fbd16895c3665
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using sensors module and svg content in a Qt Quick app has been
tricky so far as the C++ plug-in dependencies are not detected
automatically by creator. This change is intended to make the app
suitable for a tutorial explaining how to create a Qt Quick app
for Android.
Change-Id: I05b7413b1224e009ae739cf7a16181519cab7619
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
|
|/
|
|
|
|
|
|
|
|
| |
If multiple plugins with the same key are installed only the first
one is used and any subsequent plugin with the same key is ignored.
This prevents the Grue example from working as it requires a Light
sensor and the Grue sensor. All other plug-ins use the "unused" key.
Change-Id: I3cb28d3ffec407fb27b4550521acf28bd9c7b073
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the change in qtbase 732dcfe7, only the first
sensorgesture plugin was actually being loaded.
Since the FILE argument of Q_PLUGIN_METADATA is optional,
removing that and the json file fixes the following bugs:
QTBUG-31900
QTBUG-31901
Change-Id: I7c0b67605a8fe680c37639f08926140e137dbe66
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
This change fixes the errors in example QML code by replacing the
overuse of anchors with Column/Row components, and cleaning up by
refactoring reusable code into a new QML type.
Task-number: QTBUG-31076
Change-Id: Iade6f98d7db716848c44d4066aa23064929b32f2
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Adds resources (.qml, .js, images, etc.) used in QML examples as
Qt resources. This enables running the examples successfully when
shadow building, without copying the files around.
Task-number: QTBUG-31076
Change-Id: I0f3352cffdc334f6139aac60acd3345710516d65
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-31076
Change-Id: I345cb91f82262b64c2d414bec585e5a7ca724ce3
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I63fa985991653e4b8465a7fb88acab647d8546e8
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I17123244323118e9dc9faa090f94faa9b2dcb795
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I4b442f25f4593f2d957ff572b5ec565ff952818b
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
As well as from documentation and usage of Sensors.conf location
Change-Id: I52d657d6799e44a94b3f37bae86445c73e176103
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
|
|
|
| |
This appears to be implicit. Now the property documentation is built
correctly.
Change-Id: I3998582fdeabf751a612c379df69f5eb41b9419d
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
DESTDIR and INSTALLS+=target are set up automatically now, but
PLUGIN_TYPE needs to be defined.
this contains a nasty hack for examples, as we don't want users to use
the internal prf files.
Change-Id: I9e854e7ff6183e19801998ff7157a279b97b2be4
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: I8ae1ffbf38ec6c81c12f8ff487e159206cf00f0d
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: Ie8636ec443f43b1f238342e0f6f7d321e13dce09
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
| |
Change-Id: I2b24533d38db1f8e205de19b67fe0b21625bbf6b
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The gesture tests that were part of the sensors2 unit test have
been retained. The tilt sensor tests were not, though they could be
used as a base to make a unit test for the new tilt sensor class.
Change any existing imports to use QtMobility.sensors 1.3.
Change-Id: I8a7130b3c73980fdd577e96c10aecda15e79f8b2
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QtSensors 'Grue' and 'Sensor Explorer' examples include qml imports,
a Qt plugin and a shared library. Modify the related .pro files to
install everything under QT_INSTALL_EXAMPLES, instead of the main
Qt install directory.
Task-number: QTBUG-26860
Change-Id: I32d4f66e5b18468c17b668ecb76f969ed15e4c50
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Alex <ablasche@gmail.com>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This implementation fixes the limitations the original code had
and separates the QtSensors C++ API from the QML API so that
changes to one don't need to affect the other.
Change-Id: I519463f3c7cfbad3bce5c291ce166b8793d5ed4a
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I85014238e262cb59d8d92b0d708851e82e5633da
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
In QML it is now no longer allowed to override signals with a new signal
that has the same name. In this case, the property change notification
signal was overridden.
Turns out that is not needed anyway here.
Change-Id: I7e0a3f00098867dfb98273f264cc8dddd15cfaec
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: Iab2407798616ed08ce7789020fe47b00e226d62d
Reviewed-by: Alex <ablasche@gmail.com>
|
|
|
|
|
| |
Change-Id: I31e1873e9ef243c86c07b0a39edc9d1d61820944
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
-\qmlclass is now \qmltype
-\instantiates is for QML types implemented in C++
Change-Id: I7f1af4eae6ad9d199859911b5ab51696a59a9b36
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Peter Yard <peter.yard@nokia.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
|
|
|
|
|
|
|
|
| |
Build the required C++ stubs for each example and deploy
all the files so that the examples are runnable.
Change-Id: I03d23cb37e1c484110a58934a9b0aa550d6915a6
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
| |
These aren't needed anymore.
Change-Id: I723dfd8a85cd05c11135601908a90386cb840967
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|