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.pro32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/imports/sensors/sensors.pro b/src/imports/sensors/sensors.pro
new file mode 100644
index 00000000..b819829f
--- /dev/null
+++ b/src/imports/sensors/sensors.pro
@@ -0,0 +1,32 @@
+TARGET = declarative_sensors
+TARGETPATH = Qt/sensors
+
+# Compatibility demands old path too.
+#TARGETPATH = QtMobility/sensors
+
+include(../qimportbase.pri)
+
+QT += declarative sensors
+
+SOURCES += sensors.cpp
+
+DESTDIR = $$QT.sensors.imports/$$TARGETPATH
+target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+qmldir.files += $$PWD/qmldir
+qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+INSTALLS += target qmldir
+
+symbian {
+ # In Symbian, a library should enjoy _largest_ possible capability set.
+ TARGET.CAPABILITY = ALL -TCB
+ # Allow writable DLL data
+ TARGET.EPOCALLOWDLLDATA = 1
+ # Target UID, makes every Symbian app unique
+ TARGET.UID3 = 0x20021324
+ # Specifies what files shall be deployed: the plugin itself and the qmldir file.
+ importFiles.sources = $$DESTDIR/declarative_sensors$${QT_LIBINFIX}.dll qmldir
+ importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH
+ DEPLOYMENT = importFiles
+ }