summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2021-05-21 10:01:56 +0300
committerJuha Vuolle <juha.vuolle@insta.fi>2021-05-26 09:48:04 +0300
commit0193d164e79845f7a2b5a388ed2818854c77399f (patch)
tree68d05a426a53d39c0bce34705dd91fbbbc9c24e5 /src/CMakeLists.txt
parentcf21f9074be72e9d5a1c45638bf6762edad7a73f (diff)
Split the Sensors QML plugin into a library and a plugin
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>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9a363951..bb87443e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,6 @@
add_subdirectory(sensors)
add_subdirectory(plugins)
if(TARGET Qt::Quick)
+ add_subdirectory(sensorsquick)
add_subdirectory(imports)
endif()