qtmobility/plugins/sensors/symbian/symbian.pro
changeset 4 90517678cc4f
child 5 453da2cfceef
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qtmobility/plugins/sensors/symbian/symbian.pro	Mon May 03 13:18:40 2010 +0300
@@ -0,0 +1,66 @@
+INCLUDEPATH+=../../../src/sensors
+INCLUDEPATH+=../../sensors \epoc32\include\osextensions
+
+include(version.pri)
+include(symbian.pri)
+include(../../../common.pri)
+
+TEMPLATE = lib
+CONFIG += plugin
+TARGET = $$qtLibraryTarget(sensors_sym)
+
+SOURCES +=  \
+			sensorbackendsym.cpp \
+			proximitysensorsym.cpp \
+			ambientlightsensorsym.cpp \
+			magnetometersensorsym.cpp \
+			compasssym.cpp \
+			accelerometersym.cpp \
+			orientationsym.cpp \
+			main.cpp
+PRIVATE_HEADERS += \
+			sensorbackendsym.h \
+			sensorbackenddatasym.h \
+			proximitysensorsym.h \
+			ambientlightsensorsym.h \
+			magnetometersensorsym.h \
+			compasssym.h \
+			accelerometersym.h \
+			orientationsym.h
+           
+HEADERS = $$PRIVATE_HEADERS
+
+#SYSTEM_INCLUDE += ../../sensors
+
+LIBS += -lqtsensors
+QT=core
+CONFIG+=mobility
+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.CAPABILITY = ALL -TCB    
+    LIBS += -lSensrvClient
+    LIBS += -lsensrvutil   
+}
+symbian: {
+# Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files
+load(data_caging_paths)
+ 
+# Defines plugin files into Symbian .pkg package
+pluginDep.sources = sensors_sym.dll
+pluginDep.path = $$QT_PLUGINS_BASE_DIR/sensors
+DEPLOYMENT += pluginDep
+}
+ 
+target.path += $$[QT_INSTALL_PLUGINS]/sensors
+INSTALLS += target
+