plugins/declarative/sensors/sensors.pro
changeset 5 603d3f8b6302
parent 0 876b1a06bc25
--- a/plugins/declarative/sensors/sensors.pro	Fri Sep 17 08:34:34 2010 +0300
+++ b/plugins/declarative/sensors/sensors.pro	Mon Oct 04 01:37:06 2010 +0300
@@ -23,6 +23,14 @@
 INSTALLS += target qmldir
 
 symbian {
-    TARGET.EPOCALLOWDLLDATA=1
-}
-
+    # 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
+ }