summaryrefslogtreecommitdiffstats
path: root/src/imports/sensors2/sensors2.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/sensors2/sensors2.pro')
-rw-r--r--src/imports/sensors2/sensors2.pro18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/imports/sensors2/sensors2.pro b/src/imports/sensors2/sensors2.pro
index fb6be47e..be5060e1 100644
--- a/src/imports/sensors2/sensors2.pro
+++ b/src/imports/sensors2/sensors2.pro
@@ -1,10 +1,5 @@
+CXX_MODULE = sensors
TARGET = declarative_qtsensors5
-TARGETPATH = QtSensors
-IMPORT_NAME = $$TARGETPATH
-IMPORT_NAME~=s,/,.,g
-IMPORT_VERSION = 5.0 # Doesn't matter, as long as it's a valid version?!
-
-include(qsensors2import.pri)
QT += qml sensors
@@ -21,14 +16,7 @@ HEADERS += qsensor2ambientlight.h \
qsensor2gesture.h \
qsensor2common.h
-DESTDIR = $$QT.sensors.imports/$$TARGETPATH
-target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-
-qmldir.files += $$PWD/qmldir $$PWD/plugin.qmltypes
-qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-
-INSTALLS += target qmldir
+load(qml_plugin)
OTHER_FILES += \
- plugin.json qmldir plugin.qmltypes
-
+ plugin.json