| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: I14345192d06a8a0ac9000feab6daea0f11b41f72
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a Qt sensor is told to stop, it automatically stops the underlying
OS sensor as well. This caused a problem when several Qt sensors were
running, since stopping one would stop them all.
This patch will add a ref count for each affected sensor, so that we
keep track of when it's safe to start and stop the underlying OS sensor.
Task-number: QTBUG-54977
Change-Id: If06c4daac22916feef2f4c7bd521363d74f342a6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
| |
| |
| |
| |
| |
| |
| | |
A compass has 360 degrees, not 365.
Change-Id: I2f0628fa0151434b1b529fbefd1a4bab9de99a8a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I53d801a88bda3a8b8519b6002e1d37053c03e103
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since Android 5.0 Google introduce a nasty bug[1] which calls
JNI_OnLoad more than once.
Basically every time when a library is loaded JNI_OnLoad is
called if found, but it calls *again* JNI_OnLoad of its .so
dependencies!
[1] Workaround https://code.google.com/p/android/issues/detail?id=215069
Change-Id: I34728572bc279581b8c95c42c206ed104bfc09a5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
OpenBSD does not provide librt.so for the sensors module, which leads to
linker errors in this case. Disable linking to librt.so by adding
!openbsd to the list of OSes not having it.
Change-Id: If7b33eb33b4027be79bce4bb3272bef3a5b7d832
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Coverity noticed uninitialized members (CID 22309). Eliminate members
handler (never accessed or set; the code always uses
QtSensorGestureSensorHandler::instance() instead) and lastTs (set but
never accessed). Initialized timer (to 0; it'll be set more sensibly
as long as create() gets called). Reformatted constructor.
Change-Id: I41738ec51db94fb35e068af509e9a34bf9221770
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-54506
Change-Id: I83576e79f12556479a43aac95123edcacd50c63c
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
More efficient if all you want is the number of seconds.
Change-Id: Ib57b52598e2f452985e9fffd145a371003ede342
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I6c75a1a2f39fc3490087c1bad07325c79b0c79d2
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
Change-Id: I47e4537c8456e7b762da2a792f0584c1a783db56
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
src/sensors/doc/src/compatmap.qdoc
Change-Id: I7bd464cbd506f630798091fef3896050ade7b3f8
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... 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>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-50165
Change-Id: I7a5e195ad5ea4d390609303e9ae7c047ecbf2399
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: I3885849352a59a23989605f0e62a594bd4c61db1
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
Change-Id: I6045425fb467002db288854f9d0a8f8ea683876f
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\|
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
src/sensors/doc/src/compatmap.qdoc
Change-Id: I4049bc3c335a8a9db5c935032207d0bcfba78480
|
| |
| |
| |
| |
| | |
Change-Id: I9606b50810c63e49f6821e5188df54417601d11a
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-50165
Change-Id: I1fedc47b19832c8c8400ca28314e2a374d5714de
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
| |
| |
| |
| |
| | |
Change-Id: If952d7f9a0888a16c87bc75a96105c5eabc24377
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I88eba8f9d5ad0633bf58692245c80cc767d2ab67
Task-number: QTBUG-50013
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using qml calibrating the tilt sensor does not work on WinRT and
Windows Phone without this change.
QmlTiltsensor::calibrate calls QTiltSensor::calibrate which calls
QMetaObject::invokeMethod with "calibrate" on its backend. That causes
the message "No such method QSensorBackend::calibrate()" without this
change. Thus the meta system has to be made aware of that function.
Change-Id: I539c0fb44e20fffb78bf515ba3767dafa3ce4ed6
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If addition and removal are not done in the Xaml thread, the functions
might not return at all.
Task-number: QTBUG-49741
Change-Id: Iabdea2c7ee18bf851ab70adfeb28b09781b8b609
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: I470d742058d69d517249620b98eef136a9c6ca86
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
because it's useful for non-primitive types
Change-Id: I2907a40956935abdd59b0d90bb5ab215d49c1029
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: I6799d8791b7b67b4151697b63bdb3c0f83d39392
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\|
| |
| |
| | |
Change-Id: I4286dcb9262bf38960ff3852932012718aaa5d65
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\
| | |
| | |
| | | |
Change-Id: Ic4c5a95a53ff695b879314cd2d6092bcbe427d94
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes it possible to use Tilt sensor from generic plugin.
Task-number: QTBUG-47854
Change-Id: I14883e8d4a18a56c52845a4a5172c8c46bfe385f
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ife5ca9224e4a1ac0b57a25aeb59e2f23e505082b
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
iio-sensor-proxy is a daemon that listens to sensors on IIO
subsystem on Linux and provides access to the sensor readings
over D-Bus. Currently it provides only orientation and ambient-
light level.
https://github.com/hadess/iio-sensor-proxy
Change-Id: I035bda0b43a16552a9f2bd88a064e53d5f105451
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
| |
| |
| |
| |
| | |
Change-Id: I9f84dd9595d055f424202fbc65de2198b06ee1f3
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I988cf7a720d4b17e875339e0ec75cad270fd6186
|
| |
| |
| |
| |
| |
| |
| |
| | |
The relevant code base will be removed in Qt 5.6. This change prepares
qtsensors repo for the removal of the "Qt for BlackBerry" link.
Change-Id: I67229cc0778ed54723ae4c6bf9302a3d54d11034
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][QtSensors][Platform Specific Changes] Removed support
for BlackBerry 10 from QtSensors.
Change-Id: I56788caaa53797b7d4e23bb053c3ea8b460b1341
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
|/
|
|
|
|
| |
Change-Id: Ie95283344006821ae2e84a3c6b01532cd4cf340f
Reviewed-by: Vyacheslav Koscheev <vok1980@gmail.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
|\
| |
| |
| | |
Change-Id: Icc01abe0bc7368455527b5f4b5299b4cb9f2b177
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-45516
Change-Id: I45215714e8f5e4693e43d022a3ca313576c85d79
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I9031610c02d9418b46339c34b02264a03600403c
Task-number: QTBUG-45691
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
From 5.5.0 -> WinRT port is licensed with LGPLv3, see
http://blog.qt.io/blog/2015/04/29/windows-10-support-in-qt/
Change-Id: I1c78b8f11d1640e36e6b90eea47500c5dd5408ee
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: I06a505894844bfd17eb07106bed0c07ca2f9f79c
|