qtmobility/plugins/sensors/symbian/symbian.pro
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 16:41:33 +0300
changeset 5 453da2cfceef
parent 4 90517678cc4f
child 8 71781823f776
permissions -rw-r--r--
Revision: 201017 Kit: 201019

INCLUDEPATH+=../../../src/sensors
INCLUDEPATH+=../../sensors \epoc32\include\osextensions

include(version.pri)
#include(symbian.pri)
include(../../../common.pri)

TEMPLATE = lib
CONFIG += plugin
TARGET = $$qtLibraryTarget(qtsensors_sym)

SOURCES +=  \			
			sensorbackendsym.cpp \
			proximitysensorsym.cpp \
			ambientlightsensorsym.cpp \
			magnetometersensorsym.cpp \
			compasssym.cpp \
			accelerometersym.cpp \
			orientationsym.cpp \
			rotationsensorsym.cpp \
			tapsensorsym.cpp \			
			main.cpp \
			
PRIVATE_HEADERS += \
			sensorbackendsym.h \
			sensorbackenddatasym.h \
			proximitysensorsym.h \
			ambientlightsensorsym.h \
			magnetometersensorsym.h \
			compasssym.h \
			accelerometersym.h \
			orientationsym.h \
			rotationsensorsym.h \
			tapsensorsym.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 = qtsensors_sym.dll
pluginDep.path = $$QT_PLUGINS_BASE_DIR/sensors
DEPLOYMENT += pluginDep
}
 
target.path += $$[QT_INSTALL_PLUGINS]/sensors
INSTALLS += target