summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/iio-sensor-proxy
Commit message (Collapse)AuthorAgeFilesLines
* Mark the whole repo with QT_NO_CONTEXTLESS_CONNECTAhmad Samir2023-08-231-2/+0
| | | | | | | | | | By adding it to the default build flags via .cmake.conf. This amends commit 2c723b6af7ac6c359916dcd240b1f57057871321. Task-number: QTBUG-116296 Change-Id: Ic485c2f4596f77f59928df960050421d2d08748f Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
* Build with QT_NO_CONTEXTLESS_CONNECTAhmad Samir2023-07-311-0/+2
| | | | | | | | | | | | This disables the 3-arg QObject::connect() overload: QObject::connect(sender, signal, functor) For details see: https://lists.qt-project.org/pipermail/development/2023-July/044141.html Change-Id: I9e068cacae63f4a5594d712c4fbff25e380da55c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
* Exclude files from Unity BuildAmir Masoud Abdol2023-04-231-0/+6
| | | | | | | | | | | `dbusPath()` is defined in several places, and it seems to me that it can be implemented as a private static data member. When resolved, we can remove these files from the exclusion list. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I1f4290fb8495ce1f1c941a46240b60c8fed4bbe4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: I8e1e210b85a5c02947a259edec14a915fa64cfc5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* fix dbus interface descriptionLorn Potter2022-08-231-1/+1
| | | | | | | Pick-to: 6.4 Fixes: QTBUG-105848 Change-Id: I7240192d3fbb5b881f52ab4b6cf34f924c164f8e Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-071-0/+3
| | | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: If432c07e9205f97f3c256ca2a8e682478d9dd82c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-139-351/+27
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I114588b3215fecda3a9127931f17a33bd4ef1edb Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Don't give plugins PUBLIC usage requirements part 2Alexandru Croitor2021-08-171-1/+1
| | | | | | | | | | | Plugins shouldn't have public usage requirements. Amends 4686bb97ee8a7159f889e8957537f59d255937c2 Pick-to: 6.2 Task-number: QTBUG-90819 Change-Id: I5adc59533573d7db4ab81873072288f52d3b2b8f Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* CMake: Use renamed qt6_add_plugin PLUGIN_TYPE optionAlexandru Croitor2021-08-101-1/+1
| | | | | | | Task-number: QTBUG-95170 Pick-to: 6.2 Change-Id: Ic988e041d899c3c50c72404c5511a0cb19932dfd Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* CMake: Don't give plugins PUBLIC usage requirementsCraig Scott2021-08-051-1/+1
| | | | | | | Task-number: QTBUG-90819 Pick-to: 6.2 Change-Id: I6390d42881e1038904d551f3d1db871eae303575 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Rename subclass static variable which shadowed baseclass methodJuha Vuolle2021-05-191-6/+6
| | | | | | | | | | | 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>
* QtSensors initial cmake supportLorn Potter2021-04-192-31/+41
| | | | | | | | | | | | | | | | | 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>
* Do not register iio sensors if the dbus service is not foundLorn Potter2019-05-081-6/+11
| | | | | | Fixes: QTBUG-74905 Change-Id: I78ca045d2723fa47dc2d0f9cc559320be84e5f32 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add missing override and remove redundant virtualAlexander Volkov2017-11-141-2/+2
| | | | | Change-Id: I51c0fc424f44ae68c3c1c4cf6377e7701ee5a0dd Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Replace Q_DECL_OVERRIDE by overrideAlexander Volkov2016-12-023-9/+9
| | | | | | | 'override' keyword can be used directly since Qt 5.7. Change-Id: Ibf0fc590f7e247a310a833a22ece700ec75199bb Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* Updated license headersAntti Kokko2016-01-209-135/+189
| | | | | | | | | | 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>
* Add compass support to the iio-sensor-proxy backendAlexander Volkov2015-10-125-2/+186
| | | | | Change-Id: Ife5ca9224e4a1ac0b57a25aeb59e2f23e505082b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Add iio-sensor-proxy backendAlexander Volkov2015-10-0511-0/+655
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>