|
1 TEMPLATE = subdirs |
|
2 |
|
3 isEmpty(QT_LIBINFIX):symbian { |
|
4 include(../../staticconfig.pri) |
|
5 load(data_caging_paths) |
|
6 include($$QT_MOBILITY_BUILD_TREE/config.pri) |
|
7 |
|
8 SUBDIRS = |
|
9 TARGET = "QtMobility" |
|
10 TARGET.UID3 = 0x2002AC89 |
|
11 |
|
12 VERSION = 1.0.2 |
|
13 |
|
14 vendorinfo = \ |
|
15 "; Localised Vendor name" \ |
|
16 "%{\"Nokia\"}" \ |
|
17 " " \ |
|
18 "; Unique Vendor name" \ |
|
19 ":\"Nokia\"" \ |
|
20 " " |
|
21 qtmobilitydeployment.pkg_prerules += vendorinfo |
|
22 |
|
23 epoc31 = $$(EPOCROOT31) |
|
24 epoc32 = $$(EPOCROOT32) |
|
25 epoc50 = $$(EPOCROOT50) |
|
26 |
|
27 # default to EPOCROOT if EPOCROOTxy not defined |
|
28 isEmpty(epoc31) { |
|
29 EPOCROOT31 = $${EPOCROOT} |
|
30 } else { |
|
31 EPOCROOT31 = $$(EPOCROOT31) |
|
32 } |
|
33 isEmpty(epoc32) { |
|
34 EPOCROOT32 = $${EPOCROOT} |
|
35 }else { |
|
36 EPOCROOT32 = $$(EPOCROOT32) |
|
37 } |
|
38 isEmpty(epoc50) { |
|
39 EPOCROOT50 = $${EPOCROOT} |
|
40 } else { |
|
41 EPOCROOT50 = $$(EPOCROOT50) |
|
42 } |
|
43 |
|
44 contains(mobility_modules, messaging): qtmobilitydeployment.sources += \ |
|
45 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtMessaging.dll |
|
46 |
|
47 contains(mobility_modules, serviceframework): qtmobilitydeployment.sources += \ |
|
48 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtServiceFramework.dll \ |
|
49 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qsfwdatabasemanagerserver.exe |
|
50 |
|
51 contains(mobility_modules, location): qtmobilitydeployment.sources += \ |
|
52 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtLocation.dll |
|
53 |
|
54 contains(mobility_modules, systeminfo): qtmobilitydeployment.sources += \ |
|
55 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtSystemInfo.dll |
|
56 |
|
57 contains(mobility_modules, publishsubscribe): qtmobilitydeployment.sources += \ |
|
58 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtPublishSubscribe.dll \ |
|
59 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qpspathmapperserver.exe |
|
60 |
|
61 contains(mobility_modules, versit): qtmobilitydeployment.sources += \ |
|
62 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtVersit.dll |
|
63 |
|
64 |
|
65 contains(mobility_modules, bearer) { |
|
66 bearer = \ |
|
67 "IF package(0x1028315F)" \ |
|
68 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtBearer.dll\" - \"!:\\sys\\bin\\QtBearer.dll\"" \ |
|
69 "ELSEIF package(0x102752AE)" \ |
|
70 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtBearer.dll\" - \"!:\\sys\\bin\\QtBearer.dll\"" \ |
|
71 "ELSEIF package(0x102032BE)" \ |
|
72 " \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/QtBearer.dll\" - \"!:\\sys\\bin\\QtBearer.dll\"" \ |
|
73 "ELSE" \ |
|
74 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtBearer.dll\" - \"!:\\sys\\bin\\QtBearer.dll\"" \ |
|
75 "ENDIF" |
|
76 |
|
77 qtmobilitydeployment.pkg_postrules += bearer |
|
78 } |
|
79 |
|
80 contains(mobility_modules, contacts) { |
|
81 |
|
82 qtmobilitydeployment.sources += \ |
|
83 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtContacts.dll |
|
84 |
|
85 contacts = \ |
|
86 "IF package(0x1028315F)" \ |
|
87 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtcontacts_symbian.dll\" - \"!:\\sys\\bin\\qtcontacts_symbian.dll\"" \ |
|
88 "ELSEIF package(0x102752AE)" \ |
|
89 " \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtcontacts_symbian.dll\" - \"!:\\sys\\bin\\qtcontacts_symbian.dll\"" \ |
|
90 "ELSEIF package(0x102032BE)" \ |
|
91 " \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtcontacts_symbian.dll\" - \"!:\\sys\\bin\\qtcontacts_symbian.dll\"" \ |
|
92 "ELSE" \ |
|
93 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtcontacts_symbian.dll\" - \"!:\\sys\\bin\\qtcontacts_symbian.dll\"" \ |
|
94 "ENDIF" |
|
95 |
|
96 qtmobilitydeployment.pkg_postrules += contacts |
|
97 |
|
98 pluginstubs += \ |
|
99 "\"$$QT_MOBILITY_BUILD_TREE/plugins/contacts/symbian/qmakepluginstubs/qtcontacts_symbian.qtplugin\" - \"!:\\resource\\qt\\plugins\\contacts\\qtcontacts_symbian.qtplugin\"" |
|
100 |
|
101 contains(symbiancntsim_enabled, yes) { |
|
102 pluginstubs += \ |
|
103 "\"$$QT_MOBILITY_BUILD_TREE/plugins/contacts/symbiansim/qmakepluginstubs/qtcontacts_symbiansim.qtplugin\" - \"!:\\resource\\qt\\plugins\\contacts\\qtcontacts_symbiansim.qtplugin\"" |
|
104 |
|
105 symbiancntsim = \ |
|
106 "IF package(0x1028315F)" \ |
|
107 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtcontacts_symbiansim.dll\" - \"!:\\sys\\bin\\qtcontacts_symbiansim.dll\"" \ |
|
108 "ELSEIF package(0x102752AE)" \ |
|
109 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtcontacts_symbiansim.dll\" - \"!:\\sys\\bin\\qtcontacts_symbiansim.dll\"" \ |
|
110 "ELSEIF package(0x102032BE)" \ |
|
111 " \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtcontacts_symbiansim.dll\" - \"!:\\sys\\bin\\qtcontacts_symbiansim.dll\"" \ |
|
112 "ELSE" \ |
|
113 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtcontacts_symbiansim.dll\" - \"!:\\sys\\bin\\qtcontacts_symbiansim.dll\"" \ |
|
114 "ENDIF" |
|
115 |
|
116 qtmobilitydeployment.pkg_postrules += symbiancntsim |
|
117 } |
|
118 |
|
119 } |
|
120 |
|
121 contains(mobility_modules, multimedia) { |
|
122 |
|
123 qtmobilitydeployment.sources += \ |
|
124 $$(EPOCROOT50)epoc32/release/$(PLATFORM)/$(TARGET)/QtMultimediaKit.dll \ |
|
125 $$(EPOCROOT50)epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimediakit_m3u.dll |
|
126 |
|
127 multimedia = \ |
|
128 "IF package(0x1028315F)" \ |
|
129 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimediakit_mmfengine.dll\" - \"!:\\sys\\bin\\qtmultimediakit_mmfengine.dll\"" \ |
|
130 "ELSEIF package(0x102752AE)" \ |
|
131 " \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimediakit_mmfengine.dll\" - \"!:\\sys\\bin\\qtmultimediakit_mmfengine.dll\"" \ |
|
132 "ELSEIF package(0x102032BE)" \ |
|
133 " \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimediakit_mmfengine.dll\" - \"!:\\sys\\bin\\qtmultimediakit_mmfengine.dll\"" \ |
|
134 "ELSE" \ |
|
135 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimediakit_mmfengine.dll\" - \"!:\\sys\\bin\\qtmultimediakit_mmfengine.dll\"" \ |
|
136 "ENDIF" |
|
137 |
|
138 |
|
139 qtmobilitydeployment.pkg_postrules += multimedia |
|
140 |
|
141 contains(openmaxal_symbian_enabled, yes) { |
|
142 openmax = \ |
|
143 "IF package(0x20022E6D)" \ |
|
144 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtmultimediakit_xarecordservice.dll\" - \"!:\\sys\\bin\\qtmultimediakit_xarecordservice.dll\"" \ |
|
145 "ENDIF" |
|
146 |
|
147 qtmobilitydeployment.pkg_postrules += openmax |
|
148 |
|
149 pluginstubs += \ |
|
150 "IF package(0x20022E6D)" \ |
|
151 "\"$$QT_MOBILITY_BUILD_TREE/plugins/multimedia/symbian/openmaxal/mediarecorder/qmakepluginstubs/qtmultimediakit_xarecordservice.qtplugin\" - \"!:\\resource\\qt\\plugins\\mediaservice\\qtmultimediakit_xarecordservice.qtplugin\"" \ |
|
152 "ENDIF" |
|
153 } |
|
154 |
|
155 pluginstubs += \ |
|
156 "\"$$QT_MOBILITY_BUILD_TREE/plugins/multimedia/symbian/mmf/qmakepluginstubs/qtmultimediakit_mmfengine.qtplugin\" - \"!:\\resource\\qt\\plugins\\mediaservice\\qtmultimediakit_mmfengine.qtplugin\"" \ |
|
157 "\"$$QT_MOBILITY_BUILD_TREE/plugins/multimedia/m3u/qmakepluginstubs/qtmultimediakit_m3u.qtplugin\" - \"!:\\resource\\qt\\plugins\\playlistformats\\qtmultimediakit_m3u.qtplugin\"" \ |
|
158 } |
|
159 |
|
160 contains(mobility_modules, sensors) { |
|
161 |
|
162 qtmobilitydeployment.sources += \ |
|
163 $${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/QtSensors.dll |
|
164 |
|
165 sensors = "" |
|
166 |
|
167 equals(sensors_s60_31_enabled,yes) { |
|
168 sensors += \ |
|
169 "IF package(0x102032BE)" \ |
|
170 " \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_s60sensorapi.dll\" - \"!:\\sys\\bin\\qtsensor_s60sensorapi.dll\"" \ |
|
171 " \"$${EPOCROOT31}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \ |
|
172 "ENDIF" |
|
173 } else:equals(sensors_symbian_enabled,yes) { |
|
174 sensors += \ |
|
175 "IF package(0x102752AE)" \ |
|
176 " \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_sym.dll\" - \"!:\\sys\\bin\\qtsensors_sym.dll\"" \ |
|
177 " \"$${EPOCROOT32}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \ |
|
178 "ELSE" \ |
|
179 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_sym.dll\" - \"!:\\sys\\bin\\qtsensors_sym.dll\"" \ |
|
180 " \"$${EPOCROOT50}epoc32/release/$(PLATFORM)/$(TARGET)/qtsensors_generic.dll\" - \"!:\\sys\\bin\\qtsensors_generic.dll\"" \ |
|
181 "ENDIF" |
|
182 } |
|
183 |
|
184 !isEmpty(sensors):qtmobilitydeployment.pkg_postrules += sensors |
|
185 |
|
186 equals(sensors_s60_31_enabled,yes) { |
|
187 pluginstubs += \ |
|
188 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/s60_sensor_api/qmakepluginstubs/qtsensors_s60sensorapi.qtplugin\" - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_s60sensorapi.qtplugin\""\ |
|
189 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/generic/qmakepluginstubs/qtsensors_generic.qtplugin\" - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_generic.qtplugin\"" |
|
190 } else:equals(sensors_symbian_enabled,yes) { |
|
191 pluginstubs += \ |
|
192 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/symbian/qmakepluginstubs/qtsensors_sym.qtplugin\" - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_sym.qtplugin\""\ |
|
193 "\"$$QT_MOBILITY_BUILD_TREE/plugins/sensors/generic/qmakepluginstubs/qtsensors_generic.qtplugin\" - \"!:\\resource\\qt\\plugins\\sensors\\qtsensors_generic.qtplugin\"" |
|
194 } |
|
195 |
|
196 } |
|
197 |
|
198 !isEmpty(pluginstubs):qtmobilitydeployment.pkg_postrules += pluginstubs |
|
199 |
|
200 qtmobilitydeployment.path = /sys/bin |
|
201 |
|
202 DEPLOYMENT += qtmobilitydeployment |
|
203 |
|
204 BLD_INF_RULES.prj_exports += "./qtmobility.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qtmobility.iby)" |
|
205 |
|
206 } else { |
|
207 message(Deployment of infixed library names not supported) |
|
208 } |