|
1 |
|
2 !symbian { |
|
3 INCLUDEPATH += $${MOBILITY_INCLUDE} |
|
4 } else { |
|
5 load(data_caging_paths) |
|
6 contains(MOBILITY, contacts|versit) { |
|
7 INCLUDEPATH+=$$APP_LAYER_SYSTEMINCLUDE |
|
8 } |
|
9 |
|
10 contains(MOBILITY,bearer|location|publishsubscribe|systeminfo|multimedia|messaging|serviceframework) { |
|
11 INCLUDEPATH+=$$MW_LAYER_SYSTEMINCLUDE |
|
12 } |
|
13 } |
|
14 mac: LIBS += -F$${MOBILITY_LIB} |
|
15 LIBS+= -L$${MOBILITY_LIB} |
|
16 |
|
17 contains(MOBILITY, bearer) { |
|
18 qtAddLibrary(QtBearer) |
|
19 } |
|
20 |
|
21 contains(MOBILITY, publishsubscribe) { |
|
22 qtAddLibrary(QtPublishSubscribe) |
|
23 } |
|
24 |
|
25 contains(MOBILITY, location) { |
|
26 qtAddLibrary(QtLocation) |
|
27 } |
|
28 |
|
29 contains(MOBILITY, serviceframework) { |
|
30 qtAddLibrary(QtServiceFramework) |
|
31 } |
|
32 |
|
33 contains(MOBILITY, systeminfo) { |
|
34 #QSystemInfo header requires QNetworkInterface |
|
35 QT += network |
|
36 qtAddLibrary(QtSystemInfo) |
|
37 } |
|
38 |
|
39 contains(MOBILITY, multimedia) { |
|
40 qtAddLibrary(QtMedia) |
|
41 } |
|
42 |
|
43 contains(MOBILITY, contacts) { |
|
44 qtAddLibrary(QtContacts) |
|
45 } |
|
46 |
|
47 contains(MOBILITY, messaging) { |
|
48 qtAddLibrary(QtMessaging) |
|
49 } |
|
50 |
|
51 contains(MOBILITY, versit) { |
|
52 qtAddLibrary(QtVersit) |
|
53 } |
|
54 |
|
55 contains(MOBILITY, sensors) { |
|
56 qtAddLibrary(QtSensors) |
|
57 } |
|
58 |
|
59 # Add dependency to QtMobility package to all projects besides QtMobility package itself. |
|
60 # Mobility libs have UID3 0x2002AC89 |
|
61 # self-signed Mobility libs have UID3 0xE002AC89 |
|
62 symbian:contains(CONFIG, mobility):!contains(TARGET.UID3, 0x2002AC89):!contains(TARGET.UID3, 0xE002AC89) { |
|
63 mobility_default_deployment.pkg_prerules += \ |
|
64 "; Default dependency to QtMobility libraries" \ |
|
65 "(0x2002AC89), 1, 0, 0, {\"QtMobility\"}" |
|
66 DEPLOYMENT += mobility_default_deployment |
|
67 } |
|
68 |