summaryrefslogtreecommitdiffstats
path: root/plugins/declarative/sensors/sensors.pro
diff options
context:
space:
mode:
authorjuhvu <qt-info@nokia.com>2010-07-30 14:58:50 +1000
committerjuhvu <qt-info@nokia.com>2010-07-30 14:58:50 +1000
commit1a1ad5007a83760c6818e0395f0a08c4d2b1a5f3 (patch)
treeb5e73688352c2681692ee261e440567f0b35c31a /plugins/declarative/sensors/sensors.pro
parentd6baa9f65e2a2b89ded14a4584e1d74da788b537 (diff)
parentc7633cbe2bd9d4088b83456fdb6a3c12897fe8da (diff)
Merge branch '1.0' of ../qtm-location
Conflicts: plugins/declarative/contacts/contacts.pro plugins/declarative/sensors/sensors.pro src/s60installs/s60installs.pro
Diffstat (limited to 'plugins/declarative/sensors/sensors.pro')
-rw-r--r--plugins/declarative/sensors/sensors.pro64
1 files changed, 36 insertions, 28 deletions
diff --git a/plugins/declarative/sensors/sensors.pro b/plugins/declarative/sensors/sensors.pro
index 71ec9bc7e6..05e1ff6ece 100644
--- a/plugins/declarative/sensors/sensors.pro
+++ b/plugins/declarative/sensors/sensors.pro
@@ -1,28 +1,36 @@
-INCLUDEPATH += ../../../src/sensors
-INCLUDEPATH += ../../../src/global
-
-TARGET = $$qtLibraryTarget(declarative_sensors)
-TEMPLATE = lib
-CONFIG += plugin
-TARGETPATH = QtMobility/sensors
-PLUGIN_TYPE = declarative
-include(../../../common.pri)
-
-QT += declarative
-
-SOURCES += sensors.cpp
-
-CONFIG += mobility
-MOBILITY += sensors
-
-target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-
-qmldir.files += $$PWD/qmldir
-qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-
-INSTALLS += qmldir
-
-symbian {
- TARGET.EPOCALLOWDLLDATA=1
-}
-
+INCLUDEPATH += ../../../src/sensors
+INCLUDEPATH += ../../../src/global
+
+TARGET = $$qtLibraryTarget(declarative_sensors)
+TEMPLATE = lib
+CONFIG += plugin
+TARGETPATH = QtMobility/sensors
+PLUGIN_TYPE = declarative
+include(../../../common.pri)
+
+QT += declarative
+
+SOURCES += sensors.cpp
+
+CONFIG += mobility
+MOBILITY += sensors
+
+target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+qmldir.files += $$PWD/qmldir
+qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+INSTALLS += 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
+ }