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.pro8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/imports/sensors/sensors.pro b/src/imports/sensors/sensors.pro
index 8f60d6c8..72ebb871 100644
--- a/src/imports/sensors/sensors.pro
+++ b/src/imports/sensors/sensors.pro
@@ -1,5 +1,8 @@
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)
@@ -10,7 +13,7 @@ SOURCES += sensors.cpp
DESTDIR = $$QT.sensors.imports/$$TARGETPATH
target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-qmldir.files += $$PWD/qmldir
+qmldir.files += $$PWD/qmldir $$PWD/plugin.qmltypes
qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
INSTALLS += target qmldir
@@ -29,5 +32,4 @@ symbian {
}
OTHER_FILES += \
- plugin.json
-
+ plugin.json qmldir plugin.qmltypes