summaryrefslogtreecommitdiffstats
path: root/src/imports/qtmsensors/qtmsensors.pro
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2011-08-23 11:41:08 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-25 07:59:15 +0200
commit8b618a4bcc045c9298c219cad9b88902616134a3 (patch)
treea35b1a045e3453c5f20dc40b0c59d2d5f55fb21c /src/imports/qtmsensors/qtmsensors.pro
parent85f9fee8fe9a68b9b69daffc3da7e4b54112012b (diff)
Add a QML plugin that uses QtmSensors.
This will provide legacy import capability. Change-Id: I68e573b7eca10bffec16a24f4b76a40c64b9a7e0 Reviewed-on: http://codereview.qt.nokia.com/3351 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
Diffstat (limited to 'src/imports/qtmsensors/qtmsensors.pro')
-rw-r--r--src/imports/qtmsensors/qtmsensors.pro29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/imports/qtmsensors/qtmsensors.pro b/src/imports/qtmsensors/qtmsensors.pro
new file mode 100644
index 00000000..d09204e8
--- /dev/null
+++ b/src/imports/qtmsensors/qtmsensors.pro
@@ -0,0 +1,29 @@
+TARGET = declarative_qtmsensors
+TARGETPATH = QtMobility/sensors
+
+include(qsensorsimport.pri)
+
+QT = declarative qtmsensors
+
+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
+ }