qtmobility/plugins/sensors/symbian/symbian.pro
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 13:18:40 +0300
changeset 4 90517678cc4f
child 5 453da2cfceef
permissions -rw-r--r--
Revision: 201015 Kit: 201018

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