equal
deleted
inserted
replaced
1 INCLUDEPATH+=../../../src/sensors |
1 INCLUDEPATH+=$$(EPOCROOT)epoc32\include\osextensions |
2 INCLUDEPATH+=../../sensors \epoc32\include\osextensions |
|
3 |
2 |
4 PLUGIN_TYPE = sensors |
3 PLUGIN_TYPE = sensors |
5 |
4 |
6 TEMPLATE = lib |
5 TEMPLATE = lib |
7 CONFIG += plugin |
6 CONFIG += plugin |
8 TARGET = $$qtLibraryTarget(qtsensors_sym) |
7 TARGET = $$qtLibraryTarget(qtsensors_sym) |
9 |
8 |
10 include(version.pri) |
9 include(version.pri) |
11 #include(symbian.pri) |
|
12 include(../../../common.pri) |
10 include(../../../common.pri) |
13 |
11 |
14 SOURCES += \ |
12 SOURCES += \ |
15 sensorbackendsym.cpp \ |
13 sensorbackendsym.cpp \ |
16 proximitysensorsym.cpp \ |
14 proximitysensorsym.cpp \ |
17 ambientlightsensorsym.cpp \ |
15 ambientlightsensorsym.cpp \ |
18 magnetometersensorsym.cpp \ |
16 magnetometersensorsym.cpp \ |
19 compasssym.cpp \ |
17 compasssym.cpp \ |
20 accelerometersym.cpp \ |
18 accelerometersym.cpp \ |
21 orientationsym.cpp \ |
19 orientationsym.cpp \ |
22 rotationsensorsym.cpp \ |
20 rotationsensorsym.cpp \ |
23 tapsensorsym.cpp \ |
21 tapsensorsym.cpp \ |
24 main.cpp \ |
22 main.cpp \ |
25 |
23 |
26 PRIVATE_HEADERS += \ |
24 HEADERS += \ |
27 sensorbackendsym.h \ |
25 sensorbackendsym.h \ |
28 sensorbackenddatasym.h \ |
26 sensorbackenddatasym.h \ |
29 proximitysensorsym.h \ |
27 proximitysensorsym.h \ |
30 ambientlightsensorsym.h \ |
28 ambientlightsensorsym.h \ |
31 magnetometersensorsym.h \ |
29 magnetometersensorsym.h \ |
33 accelerometersym.h \ |
31 accelerometersym.h \ |
34 orientationsym.h \ |
32 orientationsym.h \ |
35 rotationsensorsym.h \ |
33 rotationsensorsym.h \ |
36 tapsensorsym.h \ |
34 tapsensorsym.h \ |
37 |
35 |
38 HEADERS = $$PRIVATE_HEADERS |
|
39 |
|
40 #SYSTEM_INCLUDE += ../../sensors |
|
41 |
|
42 LIBS += -lqtsensors |
|
43 QT=core |
36 QT=core |
44 CONFIG+=mobility |
37 CONFIG+=mobility |
45 MOBILITY+=sensors |
38 MOBILITY+=sensors |
46 DEFINES+=QT_MAKEDLL |
|
47 |
39 |
48 symbian { |
40 symbian { |
|
41 TARGET.EPOCALLOWDLLDATA = 1 |
49 TARGET.UID3 = 0x2002BFC8 |
42 TARGET.UID3 = 0x2002BFC8 |
50 TARGET.CAPABILITY = ALL -TCB |
43 TARGET.CAPABILITY = ALL -TCB |
51 LIBS += -lSensrvClient |
44 LIBS += -lSensrvClient |
52 LIBS += -lsensrvutil |
45 LIBS += -lsensrvutil |
53 } |
46 |
54 symbian: { |
47 pluginDep.sources = $${TARGET}.dll |
55 # Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files |
|
56 load(data_caging_paths) |
|
57 |
|
58 # Defines plugin files into Symbian .pkg package |
|
59 pluginDep.sources = qtsensors_sym.dll |
|
60 pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE} |
48 pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE} |
61 DEPLOYMENT += pluginDep |
49 DEPLOYMENT += pluginDep |
62 } |
50 } |