diff options
Diffstat (limited to 'src/imports/sensors2/sensors2.pro')
-rw-r--r-- | src/imports/sensors2/sensors2.pro | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/imports/sensors2/sensors2.pro b/src/imports/sensors2/sensors2.pro index 91c0bc0b..6779878c 100644 --- a/src/imports/sensors2/sensors2.pro +++ b/src/imports/sensors2/sensors2.pro @@ -1,5 +1,8 @@ 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) @@ -21,7 +24,7 @@ HEADERS += qsensor2ambientlight.h \ 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 @@ -40,4 +43,5 @@ symbian { } OTHER_FILES += \ - plugin.json + plugin.json qmldir plugin.qmltypes + |