summaryrefslogtreecommitdiffstats
path: root/src/imports/sensors/sensors.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/sensors/sensors.pro')
-rw-r--r--src/imports/sensors/sensors.pro15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/imports/sensors/sensors.pro b/src/imports/sensors/sensors.pro
index d470ece2..043a4357 100644
--- a/src/imports/sensors/sensors.pro
+++ b/src/imports/sensors/sensors.pro
@@ -1,22 +1,13 @@
+CXX_MODULE = sensors
TARGET = declarative_sensors
TARGETPATH = QtMobility/sensors
-IMPORT_NAME = $$TARGETPATH
-IMPORT_NAME~=s,/,.,g
IMPORT_VERSION = 1.3 # Doesn't matter, as long as it's a valid version?!
-include(qsensorsimport.pri)
-
QT += qml sensors
SOURCES += sensors.cpp
-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