--- a/qtmobility/plugins/sensors/symbian/symbian.pro Fri May 14 16:41:33 2010 +0300
+++ b/qtmobility/plugins/sensors/symbian/symbian.pro Thu May 27 13:42:11 2010 +0300
@@ -5,6 +5,8 @@
#include(symbian.pri)
include(../../../common.pri)
+PLUGIN_TYPE = sensors
+
TEMPLATE = lib
CONFIG += plugin
TARGET = $$qtLibraryTarget(qtsensors_sym)
@@ -43,15 +45,8 @@
MOBILITY+=sensors
DEFINES+=QT_MAKEDLL
-#QMAKE_CXXFLAGS+=-Werror
-
-#MOC_DIR = moc/
-#OBJECTS_DIR = obj/
-
-#DESTDIR = $$OUTPUT_DIR/bin/examples/sensors
-#target.path = $$SOURCE_DIR/plugins/sensors
-#INSTALLS += target
symbian {
+ TARGET.UID3 = 0x2002BFC8
TARGET.CAPABILITY = ALL -TCB
LIBS += -lSensrvClient
LIBS += -lsensrvutil
@@ -62,10 +57,11 @@
# Defines plugin files into Symbian .pkg package
pluginDep.sources = qtsensors_sym.dll
-pluginDep.path = $$QT_PLUGINS_BASE_DIR/sensors
+pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE}
DEPLOYMENT += pluginDep
}
-
-target.path += $$[QT_INSTALL_PLUGINS]/sensors
+
+target.path=$${QT_MOBILITY_PREFIX}/plugins/$${PLUGIN_TYPE}
+maemo6:target.path=$$[QT_INSTALL_PLUGINS]/$${PLUGIN_TYPE}
INSTALLS += target