| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If qml type is registered with qmlRegisterSingletonType(), for example:
qmlRegisterSingletonType <QmlSensorGlobal>(package, major, minor, "QmlSensors", global_object_50);
where:
package = "QtSensors"
major = 5
minor = 0
Then it can be accessed like this:
import QtSensors 5.0 as Sensors
var types = Sensors.QmlSensors.sensorTypes();
Task-number: QTBUG-33558
Change-Id: I228fb51e8a2887c59ac8edba1a944a9b2c6ec05f
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
| |
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: Ie0fd1cdeb9cc4eba373852bf2087fcf229a7339c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-32754
Change-Id: I9037c20953d67584fdfeb4d0fabdfd73f919f14c
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-32751
Change-Id: I65076fa41d5c6a4e716df96bc5156068c1bd0040
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|\ \
| |/
| |
| | |
Change-Id: I02b963a3905fd55b1fc8e1d2204ffaee584eaa56
|
| |
| |
| |
| |
| | |
Change-Id: I6bcc56af5bd19e1e6a9c15719e310461bc8dc1fd
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In some Windows Embedded 7 SDKs near is still defined, so we need to
undefine it in those cases.
Task-number: QTBUG-32571
Change-Id: I0d48b9dafa2af31f88f48746bfcf4df9fe824554
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|/
|
|
|
| |
Change-Id: Ib467832043763d292bbe7d227e8d4a4966d74630
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|
|
|
|
|
|
| |
Fixes flakiness.
Change-Id: I6e8beaf5106c4dd1e26c3bf038ba9e394d0f080d
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|\
| |
| |
| | |
Change-Id: I08bb0d6a9d4b0dddf76f463c32b3a4efdd632f0d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the flaky unit test failures. It also adds freefall to
unit test.
Task-number: QTBUG-32108
Change-Id: Ia1ee852b1e57b937fd7368073e259a139da9a697
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|\ \
| |/
| |
| | |
Change-Id: I451682790ba1949c150d4045baf9df0cd467d486
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| | |
Change-Id: I589d4840a0f0cc16656033ab34fcce10b9a499cd
|
| |
| |
| |
| |
| |
| |
| |
| | |
\generatelist is not needed for group pages because QDoc will generate
the list already.
Change-Id: If04b07af292e4c05e4b6f933612027773837a6c3
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I27eabe7c8b79e03d814deb541db5e7f0b5449099
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qshakerecognizer.cpp:161:28: error: expression result unused [-Werror,-Wunused-value]
The statement was unused, the last branch of an || that was removed in
fb06538f.
Change-Id: I4badb3e5f4272086d44004b9beaca330f8ed7ab6
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|/
|
|
|
| |
Change-Id: Iac439fff68a414ffc75efb4195282c41678bcfa2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-31388
Change-Id: I7a1a0b692d49961d07ae174cb5c2a614295ec98b
Reviewed-by: Shawn Rutledge <shawn.rutledge@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>
|
|
|
|
|
|
|
|
|
|
|
| |
This means that we are going to use the same branch name for the
dependencies as the branch of the repository under test.
If we are testing the 'stable' branch, all dependencies will point
to the 'stable' branch as well.
Change-Id: Id7e1130333e71acca7120fc6dd99ae4152e48a86
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
|
|
|
|
|
|
|
|
| |
The group in qtdoc is removed because the new overviews on the landing
page replaced the group.
Change-Id: I2e266d8d41ff933c033711880d088fed8f0a8abd
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
|
|
|
|
|
|
|
| |
We call it sensord-qt5 now. Use this instead of the qt4 sensord
Change-Id: I54f9de52e572f0afbfef742cf0c84fc64f1469f0
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I10ea0eb3f5bacebe0d72cdce4fac529957c64f2e
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.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: I663cce2f5aff72661e2b35fca8320ed79cd0157f
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I36870eb23fd0fe3de76642f29ba6509ba44dca44
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-31074
Change-Id: I7cb66ccbe74203e87e3bcc60400a8f7b2b2be0ed
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I1907497b2bb3b1be65e98223e0337eef358743b6
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
| |
Change-Id: Ifaac09159420b6cca197614a1fa9df8b6a8692dc
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
|
|
|
| |
Generic QSensor("QMagnetometer") crashed, because of a null pointer access.
Fixed by disabling geo values support for generic magnetometer sensors.
Change-Id: Ie3e654df10f325ff42cd3a08c3108e9b7a84604f
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Mostly de-inlining methods, and in addition providing
a virtual destructor.
Change-Id: I0aef91e7a896e8a16fc023a11bd35a5ef3048ee6
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
| |
QDoc needs to know the directory under which the examples are
installed in QT_INSTALL_EXAMPLES. Without it, example manifest files
may contain invalid paths.
Change-Id: Iac69054982d7f93d8282a935f278ba32eae6c72e
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
|
|
|
|
| |
Change-Id: I400661cabd4839f8a4e0c2b648a8a62a161dc955
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
qmake will parse QTPLUGIN when building static apps, and create
a stand-alone cpp file that adds the needed Q_IMPORT_PLUGIN
lines. But for this to work, PLUGIN_CLASS_NAME needs to be set.
Change-Id: Id92d78f3d77c3ce0d59fd27eec1df3271a947d51
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
|
|
|
|
| |
Change-Id: Idcd84adc62015aa7986275b320f3bacf45c94635
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ia4c2dbe4f81ceda1600f9f642effbc3377cfa94d
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I639a472cd2dfca177282cb4961d589f11f924e36
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I611e1ccafb0362b78737785e9cc7f4f48278063a
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
| |
The headers in use for the sensor backend are private, and should
never be directly included in any .cpp files. As such, we don't
need to be careful using obj-c features in the header files.
Change-Id: If16a84c88a7e7afc45afe00e668e4582337e4907
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
| |
Since we process data from the sensors using a callback
queued to the application operation queue, we need to check
that the qt sensor is still alive before accessing it.
Change-Id: I697d72f94aedec34b125006d6405428e282bfc0d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code as it stood made use of an extra obj-c class
to listen for sensor readings. This is not needed with
the block (lambda) API used by CMMotionManager.
This will also make IOSGyroscope and (soon) IOSMagnetometer
follow the same code pattern.
Change-Id: If945f8616f4cdde98b31382fcd9c555c2b490c4a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
| |
This is a leftover from QtMobility and has been available since Qt 5.0.
Change-Id: I68300b402aa04f2ca9e9b609cc859327c26e1a8f
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
| |
With sensorfw we actually have a backend that uses these now.
Change-Id: Iba088dc356a54ae43f29e8b5f77349a9a98c4d09
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
| |
Change-Id: Ic98e6b4d9f4ac5c676d2183799a5a838c5085a70
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|