summaryrefslogtreecommitdiffstats
path: root/plugins/sensors/symbian/symbian.pro
blob: 2300dfb45dd9ba69dce6120d9bc2c43d905dd7d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
include(../../../features/utils.pri)

INCLUDEPATH+=$$(EPOCROOT)epoc32/include/osextensions

PLUGIN_TYPE = sensors

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

include(../../../common.pri)

SOURCES +=  \
            sensorbackendsym.cpp \
            proximitysensorsym.cpp \
            ambientlightsensorsym.cpp \
            magnetometersensorsym.cpp \
            compasssym.cpp \
            accelerometersym.cpp \
            orientationsym.cpp \
            rotationsensorsym.cpp \
            tapsensorsym.cpp \
            main.cpp

HEADERS += \
            sensorbackendsym.h \
            sensorbackenddatasym.h \
            proximitysensorsym.h \
            ambientlightsensorsym.h \
            magnetometersensorsym.h \
            compasssym.h \
            accelerometersym.h \
            orientationsym.h \
            rotationsensorsym.h \
            tapsensorsym.h

equals(sensors_symbian_light_enabled,yes) {
    HEADERS += lightsensorsym.h
    SOURCES += lightsensorsym.cpp
    DEFINES += ENABLE_LIGHT_SENSOR
}

QT=core
CONFIG+=mobility
MOBILITY+=sensors

symbian {
    TARGET.EPOCALLOWDLLDATA = 1
    TARGET.UID3 = $$mobilityUID(0x2002BFC8)
    TARGET.CAPABILITY = ALL -TCB
    LIBS += -lsensrvclient
    LIBS += -lsensrvutil

    pluginDep.sources = $${TARGET}.dll
    pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE}
    DEPLOYMENT += pluginDep
}