| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: QTBUG-92505
Change-Id: I1e8334473c883f76285736f6a26138ea882f5351
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
| |
Change-Id: I73ad44222b2ecefca4457b5dd1713207dc515223
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Additionally add find_package() for bluetooth to the top CMakeLists.txt
Task-number: QTBUG-94209
Task-number: QTBUG-92502
Task-number: QTBUG-92509
Change-Id: Ied1730e6c3758b2734d8a25d1dcbc43236b997d2
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
|
|
|
|
|
|
|
|
|
| |
The sensors are accessed through the COM library which requires
that the initialization routines are done.
Task-number: QTBUG-92510
Change-Id: Idf65b0076432bebbab0de9f24b5e9711d471d193
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
| |
Change-Id: I9885deb29ebcd5db51a00cbcc2f063bfc418e23f
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* Add src/sensorsquick to the documentation project
* Remove links to UWP and SailFish from the overview page
Task-number: QTBUG-91875
Change-Id: I7c7ed24ddc487c48f423d8b4ffa44154d51872d6
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This commit introduces few source compatible changes:
- Change obsoleted Q_ENUMS => Q_ENUM
- Mark QSensor::type property as CONSTANT as it cannot change
- Add change signal to QSensor::identifier and a testcase for it
Task-number: QTBUG-92505
Change-Id: I6e3a652929d15bc5211448be2ae9254ed6d21118
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit strives to both fix and simplify the application
and bring its intended demonstrative purpose more forward,
consequently hopefully also making the example easier to
understand and maintain.
First, the sensor_explorer example used QQC1 functionalities
which are no longer available in Qt6. The removed elements were
such that the datamodels needed to be redesigned. This commit
changes the example to use bit more standard Qt model-view
approach.
Second, the sensor_explorer application has not worked in years
on Android due to missing QML plugin installation. While this
could be fixed, in the name of simplicity the example is
now a single binary.
Third, the explorer allowed editing of sensor values. While
this could be a feature of the example, it perhaps deviates
from the gist of the example making it more difficult to
understand. Thus the editing was not added as part of the
example rewrite. It can be added later though.
Task-number: QTBUG-92514
Task-number: QTBUG-92505
Task-number: QTBUG-63054
Change-Id: Icd620ea605a87ba74a42cd1309a3c02d05b146ac
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main changes:
- Introduction of new SensorsQuick library with private exports
- The original QML plugin loads this new library and does little else
- Renamed original 'sensors' plugin as 'declarative_sensors' to provide
an idea what it relates to
- Renamed library headers as private "_p.h" and added "We mean it"
- Changed qmlRegister* calls to QML_ELEMENT macros
- Removed files that are generated in Qt6 (qmldir, plugins.qmltypes)
Task-number: QTBUG-92530
Change-Id: I18f849adabcc79ac47e67305f78aefeee82801bc
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
| |
Change-Id: Iaf6367a8605a244762422da2d35011598c05f144
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The 'type' static variable shadowed the 'QSensors::type()' method of
the baseclass. While this is easy to workaround it is better to
remove such naming clash.
Task-number: QTBUG-60246
Change-Id: Id0ddae978377ea4d4d0202a572c554c2541f9364
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a breaking change in Android rotation sensor handling in
Qt 5.12.4 when migrating to NDK usage:
-The unit conversion logic was not transferred as part of
the migration. This task reintroduces the unit conversion part.
-The datarate interval was misinterpreted as usec, whereas it is Hz
Fixes: QTBUG-77423
Change-Id: Ibe51b3dea393e1cbe1502b5611c07f32024daf57
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
(cherry picked from commit edf82b1d6dc7572da93bbdcd5b4ce46fa1dab2ad)
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Replace use of QJNIObjectPrivate with QJniObject. Get context() and
sdkVersion() from QNativeInterface::QAndroidApplication.
Fixes: QTBUG-92550
Change-Id: I625b2269ef253e1a1f76f82edebac236de184c2c
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Setting the default backend to the last registered
backend if the current default is a dummy backend.
Task-number: QTBUG-92508
Change-Id: Id67625544f0da2dae118998429c0aeeee2a94cb2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@insta.fi>
|
|
|
|
|
|
|
|
|
|
|
| |
If a target inherits precompile headers from a different target
that has more languages enabled (CXX, OBJCXX), the target will
depend on PCH artifacts for a language that is not actually
present.
Task-number: QTBUG-92502
Change-Id: Ib8d27a63d3f6e0afeb55f4ce3988edd6c0b8ce81
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While winrt as a "windows phone" is not supported anymore, the APIs are
available on windows and can be supported where applicable (bluetooth,
positioning, sensors, ...).
This commit adds a configuration tests for the presence of these headers
and libraries.
Task-number: QTBUG-92502
Change-Id: Ia6dcb0a6b8ecdbcf1d1bcf79e42f95ace75f6657
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit introduces the bare minimum cmake support that should
unblock the CI and allow further verification and development on most
platforms: macOS, Linux, Win, iOS and Android.
Some clarifications:
* The support for sensorfw backend is very preliminary and can
be enabled later if needed (no Qt6 version of the sensorfw).
* The simulator backend is dropped as obsolete / unnecessary.
* Three examples are currently commented out and shall be ported with
a later commit.
Task-number: QTBUG-92502
Change-Id: Id523d43ed3ef177010dc73afc5812ed374cff0dd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fair amount of work remains after the commit still, but this should
allow further development as a compilable baseline: code compiles,
autotests pass, and most example applications at least start.
The changes:
-Change examples to use QtQuickControls 2 as per removal of v1
-Fix ambiguous conditional expression compilation error
-Link against runtimeobject library (previously part of winrt QPA?)
-Change the .pro file rule to win32 as winrt moniker does not exist anymore
-Remove references to deleted winrt event dispatcher
-Fix error handling: getdefault may be successful even if there is no default sensor
-Fix QCOMPARE failure output (toString has changed in Qt6)
-Remove qtimestamp alias which was deprecated already in Qt5
-Remove unit test hook that does not seem to be used anywhere
-From typedef to ‘using’ for readability
-Q_ENUMS -> Q_ENUM as the former has been obsoleted by the latter
-Add qt6 changes qdoc page
Task-number: QTBUG-88616
Change-Id: I92c168228ba76106b2c636c88f54331c76c3d2e6
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: Ia2ecc159b8c53035673a7250230ed0a56bfa06a2
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: Ifea53d932e1c5726c57dc31f0c7a40892db3501c
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
| |
Change-Id: I719afb5243a6e4e8d54a7f82a74a0c6bf0207c98
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I36a9c2a142b8485755b8849b839eac972e288bf6
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-84469
Change-Id: I4ef3c22412f5978b3474c0ccd90bae08fd7f1297
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\
| |
| |
| | |
Change-Id: I04bcb739fdaaaf4a4aa052b19cbd0b690b0c8947
|
| |\
| | |
| | |
| | | |
Change-Id: Iab2eee7fbd86759c6f9512b79c65ca5dc773b748
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I37f010fa8f9ab3f4b3c1f355110228ae1ce58dc3
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\| |
| | |
| | |
| | | |
Change-Id: If4b8ecc6e59564b5cf82b91c56baef2c8b96511b
|
| |/
| |
| |
| |
| |
| | |
Task-number: QTBUG-82253
Change-Id: I38c24b441c3778ee316651ee5f5eaf6f3abf815d
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Iba47a90c345bd18c156ae4bddfa6e9931ff98804
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously the QQmlListProperties were constructed on stack-allocated
lists, which immediately turned into dangling pointers on return. Also,
none of the sensor ranges was ever deleted.
Keep the sensor ranges in persistent lists in the private object, parent
them to the main QmlSensor object, and add some tests for them.
Fixes: QTBUG-79224
Change-Id: Ie61d0aaeaaaf998c1d1f46f60c81848ae48659d6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I729fc3aca8aab817b3e98ddaffd979235308d16b
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-78690
Change-Id: If399aff73104144bfb4b5de74e64ed7b54f8f63d
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Id6b9634106adce3e191a203d1f36ca95fc2c4a03
|
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-78616
Change-Id: I63ae0ef7d83cf2336ede280530de54688bf4fa76
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I6cf814d560665490574bd35d5ebfce911a46270f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Modify all the qmlRegisterModule calls to use minor version 15
because minor version zero from 6.0.0 would make tests fail.
This is similar to what was done in qtdeclarative in
c147b20a2c1299b2d659fe7c9472ae3866b6a425.
Change-Id: Ie46e7d5b6d4cd5e0e8c6eea5b3ebbbdd83343656
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\ \
| | |
| | |
| | | |
Change-Id: I8ee039e82242d46979f8fe7f42164247cf494633
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The name of the platform offering in the docs was changed to
"Qt for UWP", because WinRT is no longer supported.
Task-number: QTBUG-61884
Change-Id: I9b824e630e040d1b9789981596c238615033fd69
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
...for QSensorGesture::detected() and
QSensorGestureRecognizer::detected()
Also, the Q_QDOC defines are not needed any more.
Change-Id: I3fe2fb779caceeb41187815d272aca053af695b3
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\| |
| |/
|/|
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ia190d8f7448766e964472599dc1adf5c6f0eabd7
|
| |\
| | |
| | |
| | | |
Change-Id: I882051b1e585c1af4a27930aa8c575ef641583b5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change uses the public API and removes references to private API.
Task-number: QTBUG-76978
Change-Id: Ifd53dc520a38ff87b12271b7b446fd42753bb7f3
Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
|
| |\ \ |
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
.qmake.conf
Change-Id: Ic691e11af371acfb7706ee218665fb5a9f96a9c3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-76133
Change-Id: Iae28989a509384c3fad0fe5b4222e5cc1068881c
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
According to documentation, changing the mode shall have no effect when
the device does not support a particular mode.
Task-number: QTBUG-76862
Change-Id: I805daa3a3f659e8aed25e4b7b6531f804dd654b2
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-74391
Change-Id: Iacab2b6735bef1d52c640cb7b3e51ae3aa010a56
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: Ib6ec0928ab14e075b35648ce0da4efc293be9c94
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes: QTBUG-76384
Change-Id: Ib1977ea1371e3a82ca14d1c7c450984fa40cd71d
Reviewed-by: Vyacheslav Koscheev <vok1980@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |\|
| | |
| | |
| | | |
Change-Id: I71deece5315cb9b29bd9bc72c3198c80c9d14442
|