10
|
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|sensors) {
|
|
11 |
INCLUDEPATH+=$$MW_LAYER_SYSTEMINCLUDE
|
|
12 |
}
|
|
13 |
}
|
|
14 |
mac: LIBS += -F$${MOBILITY_LIB}
|
|
15 |
LIBS+= -L$${MOBILITY_LIB}
|
|
16 |
QMAKE_RPATHDIR+=$${MOBILITY_LIB}
|
|
17 |
|
|
18 |
contains(MOBILITY, bearer) {
|
|
19 |
DEFINES += QT_MOBILITY_BEARER
|
|
20 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtBearer
|
|
21 |
qtAddLibrary(QtBearer)
|
|
22 |
!equals(QT_MAJOR_VERSION,4)|!equals(QT_MINOR_VERSION, 6) {
|
|
23 |
message(Qt Mobility Bearer API is deprecated when using Qt 4.7 or higher.)
|
|
24 |
message(Please use source compatible replacement Bearer API in QtNetwork.)
|
|
25 |
}
|
|
26 |
}
|
|
27 |
|
|
28 |
contains(MOBILITY, publishsubscribe) {
|
|
29 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtPublishSubscribe
|
|
30 |
qtAddLibrary(QtPublishSubscribe)
|
|
31 |
}
|
|
32 |
|
|
33 |
contains(MOBILITY, location) {
|
|
34 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtLocation
|
|
35 |
qtAddLibrary(QtLocation)
|
|
36 |
}
|
|
37 |
|
|
38 |
contains(MOBILITY, serviceframework) {
|
|
39 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtServiceFramework
|
|
40 |
qtAddLibrary(QtServiceFramework)
|
|
41 |
}
|
|
42 |
|
|
43 |
contains(MOBILITY, systeminfo) {
|
|
44 |
#QSystemInfo header requires QNetworkInterface
|
|
45 |
QT += network
|
|
46 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtSystemInfo
|
|
47 |
qtAddLibrary(QtSystemInfo)
|
|
48 |
}
|
|
49 |
|
|
50 |
contains(MOBILITY, multimedia) {
|
|
51 |
QT += network
|
|
52 |
contains(QT_CONFIG, opengl): QT += opengl
|
|
53 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtMultimediaKit
|
|
54 |
qtAddLibrary(QtMultimediaKit)
|
|
55 |
}
|
|
56 |
|
|
57 |
contains(MOBILITY, contacts) {
|
|
58 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtContacts
|
|
59 |
qtAddLibrary(QtContacts)
|
|
60 |
}
|
|
61 |
|
|
62 |
contains(MOBILITY, messaging) {
|
|
63 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtMessaging
|
|
64 |
qtAddLibrary(QtMessaging)
|
|
65 |
}
|
|
66 |
|
|
67 |
contains(MOBILITY, versit) {
|
|
68 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtVersit
|
|
69 |
qtAddLibrary(QtVersit)
|
|
70 |
}
|
|
71 |
|
|
72 |
contains(MOBILITY, sensors) {
|
|
73 |
INCLUDEPATH += $${MOBILITY_INCLUDE}/QtSensors
|
|
74 |
qtAddLibrary(QtSensors)
|
|
75 |
}
|
|
76 |
|
|
77 |
# Add dependency to QtMobility package to all projects besides QtMobility package itself.
|
|
78 |
# Mobility libs have UID3 0x2002AC89
|
|
79 |
# self-signed Mobility libs have UID3 0xE002AC89
|
|
80 |
symbian:contains(CONFIG, mobility):!contains(TARGET.UID3, 0x2002AC89):!contains(TARGET.UID3, 0xE002AC89) {
|
|
81 |
mobility_default_deployment.pkg_prerules += \
|
|
82 |
"; Default dependency to QtMobility libraries" \
|
|
83 |
"(0x2002AC89), 1, 0, 2, {\"QtMobility\"}"
|
|
84 |
DEPLOYMENT += mobility_default_deployment
|
|
85 |
}
|
|
86 |
|