13 # |
13 # |
14 # Description: |
14 # Description: |
15 # |
15 # |
16 |
16 |
17 include(../camerax.pri) |
17 include(../camerax.pri) |
|
18 !symbian { |
|
19 CONFIG += staticlib |
|
20 CONFIG += HB |
|
21 HB += hbcore hbwidgets |
|
22 } else { |
|
23 CONFIG += dll |
|
24 DEFINES += CAMERAX_ENGINE_LIBRARY |
|
25 } |
18 |
26 |
19 TEMPLATE = lib |
27 TEMPLATE = lib |
20 TARGET = |
28 TARGET = |
21 DEPENDPATH += inc inc/api src/dummyengine |
29 DEPENDPATH += inc inc/api src/dummyengine |
22 INCLUDEPATH += inc \ |
30 INCLUDEPATH += inc \ |
23 inc/sensor \ |
31 inc/sensor \ |
24 inc/api \ |
32 inc/api \ |
25 src/dummyengine \ |
33 src/dummyengine \ |
26 traces \ |
34 traces \ |
27 ../extensions/inc |
35 ../extensions/inc |
28 |
36 |
29 VPATH += src |
37 VPATH += src |
30 CONFIG += dll |
|
31 MOC_DIR = tmp |
38 MOC_DIR = tmp |
32 |
39 |
33 symbian { |
40 symbian { |
34 TARGET.CAPABILITY = ALL -TCB -DRM |
41 TARGET.CAPABILITY = ALL -TCB -DRM |
35 TARGET.UID3 = 0x20027016 |
42 TARGET.UID3 = 0x20027016 |
36 # Fix for QMake translating INCLUDEPATH to SYSTEMINCLUDE |
43 # Fix for QMake translating INCLUDEPATH to SYSTEMINCLUDE |
37 # and TraceCompiler needing USERINCLUDE. |
44 # and TraceCompiler needing USERINCLUDE. |
38 MMP_RULES += "USERINCLUDE traces" |
45 MMP_RULES += "USERINCLUDE traces" |
39 } |
46 MMP_RULES += SMPSAFE |
40 |
47 |
41 # Libs |
48 # Libs |
42 LIBS += -lecam |
49 LIBS += -lecam |
43 LIBS += -lecamadvsettings |
50 LIBS += -lecamadvsettings |
44 LIBS += -lecamsnapshot |
51 LIBS += -lecamsnapshot |
45 LIBS += -lfbscli |
52 LIBS += -lfbscli |
46 LIBS += -lbitgdi |
53 LIBS += -lbitgdi |
47 LIBS += -lgdi |
54 LIBS += -lgdi |
48 LIBS += -lws32 |
55 LIBS += -lws32 |
49 LIBS += -lcone |
56 LIBS += -lcone |
50 LIBS += -lecamdirectviewfinder |
57 LIBS += -lecamdirectviewfinder |
51 LIBS += -lmediaclientvideo |
58 LIBS += -lmediaclientvideo |
52 LIBS += -lefsrv |
59 LIBS += -lefsrv |
53 LIBS += -lsysutil |
60 LIBS += -lsysutil |
54 LIBS += -lbafl |
61 LIBS += -lbafl |
55 LIBS += -lmediaclientaudio |
62 LIBS += -lmediaclientaudio |
56 LIBS += -lecom |
63 LIBS += -lecom |
57 LIBS += -lecampluginsupport |
64 LIBS += -lecampluginsupport |
58 LIBS += -lmmfcontrollerframework |
65 LIBS += -lmmfcontrollerframework |
59 LIBS += -lplatformenv |
66 LIBS += -lplatformenv |
60 LIBS += -lxqsettingsmanager |
67 LIBS += -lxqsettingsmanager |
61 LIBS += -lsensrvclient |
68 LIBS += -lsensrvclient |
62 LIBS += -lsensrvutil |
69 LIBS += -lsensrvutil |
63 LIBS += -limagingconfigmanager |
70 LIBS += -limagingconfigmanager |
64 LIBS += -lharvesterclient |
71 LIBS += -lharvesterclient |
65 LIBS += -lthumbnailmanagerqt |
72 LIBS += -lthumbnailmanagerqt |
66 LIBS += -lxqserviceutil |
73 LIBS += -lxqserviceutil |
67 LIBS += -loommonitor |
74 LIBS += -loommonitor |
68 LIBS += -lhal |
75 LIBS += -lhal |
69 LIBS += -llocationmanager |
76 LIBS += -llocationmanager |
70 |
77 |
71 symbian { |
78 TARGET.EPOCALLOWDLLDATA = 1 // TODO: check this out?? |
72 TARGET.EPOCALLOWDLLDATA = 1 // TODO: check this out?? |
|
73 } |
79 } |
74 |
80 |
75 # dependencies |
81 # dependencies |
76 #cxeenginecenrep.sources = cenrep/20027017.txt cenrep/20027018.txt |
82 #cxeenginecenrep.sources = cenrep/20027017.txt cenrep/20027018.txt |
77 #cxeenginecenrep.path = /private/10202be9 |
83 #cxeenginecenrep.path = /private/10202be9 |
99 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/conf/cameraxvariation_20027018.crml APP_LAYER_CRML(cameraxvariation_20027018.crml) |
105 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/conf/cameraxvariation_20027018.crml APP_LAYER_CRML(cameraxvariation_20027018.crml) |
100 } |
106 } |
101 |
107 |
102 |
108 |
103 # Input |
109 # Input |
104 HEADERS += cxecameradevicecontrol.h \ |
110 HEADERS += cxengine_global.h \ |
105 cxecameradevicecontrolsymbian.h \ |
111 cxememorymonitor.h \ |
|
112 cxememorymonitorprivate.h \ |
|
113 cxecameradevicecontrol.h \ |
106 cxeengine.h \ |
114 cxeengine.h \ |
107 cxeenginesymbian.h \ |
|
108 cxeviewfindercontrol.h \ |
|
109 cxeviewfindercontrolsymbian.h \ |
|
110 cxestillcapturecontrol.h \ |
|
111 cxestillcapturecontrolsymbian.h \ |
|
112 cxevideocapturecontrol.h \ |
|
113 cxevideocapturecontrolsymbian.h \ |
|
114 cxesettingscontrolsymbian.h \ |
|
115 cxeautofocuscontrol.h \ |
|
116 cxeautofocuscontrolsymbian.h \ |
|
117 cxezoomcontrol.h \ |
|
118 cxezoomcontrolsymbian.h \ |
|
119 cxeimagedataqueue.h \ |
|
120 cxeimagedataqueuesymbian.h \ |
|
121 cxeimagedataitem.h \ |
|
122 cxeimagedataitemsymbian.h \ |
|
123 cxefilenamegeneratorsymbian.h \ |
|
124 cxecameradevice.h \ |
|
125 cxutils.h \ |
115 cxutils.h \ |
126 cxeerror.h \ |
116 cxeerror.h \ |
127 cxeerrormappingsymbian.h \ |
|
128 cxesoundplayersymbian.h \ |
|
129 cxenamespace.h \ |
117 cxenamespace.h \ |
130 cxesettings.h \ |
118 cxesettings.h \ |
131 cxesettingsimp.h \ |
119 cxesettingsimp.h \ |
132 cxefeaturemanager.h \ |
120 cxefeaturemanager.h \ |
133 cxefeaturemanagerimp.h \ |
121 cxefeaturemanagerimp.h \ |
134 cxesettingsmodel.h \ |
|
135 cxesettingsmodelimp.h \ |
|
136 cxestatemachine.h \ |
122 cxestatemachine.h \ |
137 cxestate.h \ |
123 cxestate.h \ |
138 cxestatemachinebase.h \ |
124 cxestatemachinebase.h \ |
139 cxestillimage.h \ |
125 cxestillimage.h \ |
140 cxestillimagesymbian.h \ |
126 cxestillcapturecontrol.h \ |
|
127 cxefilesavethread.h \ |
|
128 cxesensoreventhandler.h \ |
|
129 cxesettingsstore.h \ |
|
130 cxequalitydetails.h \ |
|
131 cxequalitypresets.h \ |
|
132 cxeautofocuscontrol.h \ |
|
133 cxevideocapturecontrol.h \ |
|
134 cxeimagedataitem.h \ |
|
135 cxeimagedataqueue.h \ |
|
136 cxezoomcontrol.h \ |
|
137 cxeviewfindercontrol.h \ |
|
138 cxegeotaggingtrail.h \ |
|
139 cxeexception.h \ |
|
140 cxescenemodestore.h |
|
141 |
|
142 symbian { |
|
143 |
|
144 HEADERS+= cxequalitypresetssymbian.h \ |
|
145 cxecameradevicecontrolsymbian.h \ |
|
146 cxecameradevice.h \ |
|
147 cxeviewfindercontrolsymbian.h \ |
|
148 cxevideocapturecontrolsymbian.h \ |
|
149 cxesettingscontrolsymbian.h \ |
|
150 cxestillcapturecontrolsymbian.h \ |
|
151 cxeenginesymbian.h \ |
|
152 cxeautofocuscontrolsymbian.h \ |
|
153 cxezoomcontrolsymbian.h \ |
|
154 cxeimagedataqueuesymbian.h \ |
|
155 cxeimagedataitemsymbian.h \ |
|
156 cxefilenamegeneratorsymbian.h \ |
|
157 cxeerrormappingsymbian.h \ |
|
158 cxesoundplayersymbian.h \ |
141 cxevideorecorderutility.h \ |
159 cxevideorecorderutility.h \ |
142 cxevideorecorderutilitysymbian.h \ |
160 cxevideorecorderutilitysymbian.h \ |
143 cxedummycamera.h \ |
161 cxestillimagesymbian.h \ |
144 cxesettingsmappersymbian.h \ |
162 cxesettingsmappersymbian.h \ |
145 cxefilesavethread.h \ |
|
146 cxefilesavethreadsymbian.h \ |
163 cxefilesavethreadsymbian.h \ |
147 cxesensoreventhandler.h \ |
|
148 cxesensoreventhandlersymbian.h \ |
164 cxesensoreventhandlersymbian.h \ |
149 cxesettingscenrepstore.h \ |
165 cxesettingscenrepstore.h \ |
150 cxesysutil.h \ |
166 cxesysutil.h \ |
151 cxevideocontainer.h \ |
167 cxevideocontainer.h \ |
152 cxequalitydetails.h \ |
168 cxedummycamera.h \ |
153 cxequalitypresets.h \ |
|
154 cxequalitypresetssymbian.h \ |
|
155 cxeharvestercontrolsymbian.h \ |
169 cxeharvestercontrolsymbian.h \ |
156 cxethumbnailmanagersymbian.h \ |
170 cxethumbnailmanagersymbian.h \ |
157 cxememorymonitor.h \ |
|
158 cxememorymonitorprivate.h \ |
|
159 cxediskmonitor.h \ |
171 cxediskmonitor.h \ |
160 cxediskmonitorprivate.h \ |
172 cxediskmonitorprivate.h \ |
161 cxesnapshotcontrol.h \ |
173 cxesnapshotcontrol.h \ |
162 cxesnapshotcontrolprivate.h \ |
174 cxesnapshotcontrolprivate.h \ |
163 cxegeotaggingtrail.h \ |
175 cxegeotaggingtrail_symbian_p.h \ |
164 cxegeotaggingtrailprivate.h \ |
|
165 sensor/xqsensor.h \ |
176 sensor/xqsensor.h \ |
166 sensor/xqaccsensor.h \ |
177 sensor/xqaccsensor.h \ |
167 sensor/xqdeviceorientation.h \ |
178 sensor/xqdeviceorientation.h \ |
168 sensor/xqdeviceorientation_p.h \ |
179 sensor/xqdeviceorientation_p.h \ |
169 sensor/xqsensor_p.h \ |
180 sensor/xqsensor_p.h \ |
170 sensor/xqaccsensor_p.h \ |
181 sensor/xqaccsensor_p.h \ |
171 traces/OstTraceDefinitions.h |
182 traces/OstTraceDefinitions.h |
172 |
183 |
173 SOURCES += cxecameradevicecontrolsymbian.cpp \ |
184 } else { |
174 cxeengine.cpp \ |
185 HEADERS += cxeautofocuscontroldesktop.h \ |
|
186 cxecameradevicecontroldesktop.h \ |
|
187 cxeviewfindercontroldesktop.h \ |
|
188 cxezoomcontroldesktop.h \ |
|
189 cxefilenamegeneratordesktop.h \ |
|
190 cxefilesavethreaddesktop.h \ |
|
191 cxeimagedataitemdesktop.h \ |
|
192 cxeimagedataqueuedesktop.h \ |
|
193 cxevideocapturecontroldesktop.h \ |
|
194 cxestillimagedesktop.h \ |
|
195 cxestillcapturecontroldesktop.h \ |
|
196 cxequalitypresets.h \ |
|
197 cxequalitypresetsdesktop.h \ |
|
198 cxesensoreventhandlerdesktop.h \ |
|
199 cxesettingsstoredesktop.h \ |
|
200 cxecameradevicedesktop.h \ |
|
201 cxeviewfinderwidgetdesktop.h \ |
|
202 cxegeotaggingtrail_desktop_p.h \ |
|
203 cxeenginedesktop.h |
|
204 } |
|
205 |
|
206 SOURCES += cxeengine.cpp \ |
|
207 cxefeaturemanagerimp.cpp \ |
|
208 cxememorymonitor.cpp \ |
|
209 cxememorymonitorprivate.cpp \ |
|
210 cxestatemachine.cpp \ |
|
211 cxestate.cpp \ |
|
212 cxestatemachinebase.cpp \ |
|
213 cxefilesavethread.cpp \ |
|
214 cxegeotaggingtrail.cpp \ |
|
215 cxesettingsimp.cpp \ |
|
216 cxescenemodestore.cpp |
|
217 |
|
218 symbian { |
|
219 SOURCES += cxedummycamera.cpp \ |
|
220 cxesysutil.cpp \ |
|
221 cxevideocontainer.cpp \ |
175 cxeenginesymbian.cpp \ |
222 cxeenginesymbian.cpp \ |
176 cxeviewfindercontrolsymbian.cpp \ |
223 cxeviewfindercontrolsymbian.cpp \ |
177 cxestillcapturecontrolsymbian.cpp \ |
224 cxestillcapturecontrolsymbian.cpp \ |
178 cxevideocapturecontrolsymbian.cpp \ |
225 cxevideocapturecontrolsymbian.cpp \ |
179 cxesettingscontrolsymbian.cpp \ |
226 cxesettingscontrolsymbian.cpp \ |
182 cxeimagedataqueuesymbian.cpp \ |
229 cxeimagedataqueuesymbian.cpp \ |
183 cxeimagedataitemsymbian.cpp \ |
230 cxeimagedataitemsymbian.cpp \ |
184 cxefilenamegeneratorsymbian.cpp \ |
231 cxefilenamegeneratorsymbian.cpp \ |
185 cxecameradevice.cpp \ |
232 cxecameradevice.cpp \ |
186 cxesoundplayersymbian.cpp \ |
233 cxesoundplayersymbian.cpp \ |
187 cxesettingsmodelimp.cpp \ |
234 cxecameradevicecontrolsymbian.cpp \ |
188 cxesettingsimp.cpp \ |
|
189 cxefeaturemanagerimp.cpp \ |
|
190 cxestatemachine.cpp \ |
|
191 cxestate.cpp \ |
|
192 cxestatemachinebase.cpp \ |
|
193 cxeerrormappingsymbian.cpp \ |
235 cxeerrormappingsymbian.cpp \ |
194 cxestillimagesymbian.cpp \ |
236 cxestillimagesymbian.cpp \ |
195 cxevideorecorderutilitysymbian.cpp \ |
237 cxevideorecorderutilitysymbian.cpp \ |
196 cxesettingsmappersymbian.cpp \ |
238 cxesettingsmappersymbian.cpp \ |
197 cxedummycamera.cpp \ |
|
198 cxefilesavethread.cpp \ |
|
199 cxefilesavethreadsymbian.cpp \ |
239 cxefilesavethreadsymbian.cpp \ |
200 cxesensoreventhandlersymbian.cpp \ |
240 cxesensoreventhandlersymbian.cpp \ |
201 cxesettingscenrepstore.cpp \ |
241 cxesettingscenrepstore.cpp \ |
202 cxesysutil.cpp \ |
|
203 cxevideocontainer.cpp \ |
|
204 cxequalitypresetssymbian.cpp \ |
242 cxequalitypresetssymbian.cpp \ |
205 cxeharvestercontrolsymbian.cpp \ |
243 cxeharvestercontrolsymbian.cpp \ |
206 cxethumbnailmanagersymbian.cpp \ |
244 cxethumbnailmanagersymbian.cpp \ |
207 cxememorymonitor.cpp \ |
|
208 cxememorymonitorprivate.cpp \ |
|
209 cxediskmonitor.cpp \ |
245 cxediskmonitor.cpp \ |
210 cxediskmonitorprivate.cpp \ |
246 cxediskmonitorprivate.cpp \ |
211 cxesnapshotcontrol.cpp \ |
247 cxesnapshotcontrol.cpp \ |
212 cxesnapshotcontrolprivate.cpp \ |
248 cxesnapshotcontrolprivate.cpp \ |
213 cxegeotaggingtrail.cpp \ |
249 cxegeotaggingtrail_symbian_p.cpp \ |
214 cxegeotaggingtrailprivate.cpp \ |
|
215 sensor/xqsensor.cpp \ |
250 sensor/xqsensor.cpp \ |
216 sensor/xqaccsensor.cpp \ |
251 sensor/xqaccsensor.cpp \ |
217 sensor/xqdeviceorientation.cpp \ |
252 sensor/xqdeviceorientation.cpp \ |
218 sensor/xqdeviceorientation_p.cpp \ |
253 sensor/xqdeviceorientation_p.cpp \ |
219 sensor/xqsensor_p.cpp \ |
254 sensor/xqsensor_p.cpp \ |
220 sensor/xqaccsensor_p.cpp |
255 sensor/xqaccsensor_p.cpp |
221 |
256 |
222 |
257 } else { |
223 |
258 SOURCES += cxeautofocuscontroldesktop.cpp \ |
224 |
259 cxecameradevicecontroldesktop.cpp \ |
|
260 cxeviewfindercontroldesktop.cpp \ |
|
261 cxezoomcontroldesktop.cpp \ |
|
262 cxefilenamegeneratordesktop.cpp \ |
|
263 cxefilesavethreaddesktop.cpp \ |
|
264 cxeimagedataqueuedesktop.cpp \ |
|
265 cxeimagedataitemdesktop.cpp \ |
|
266 cxevideocapturecontroldesktop.cpp \ |
|
267 cxestillimagedesktop.cpp \ |
|
268 cxestillcapturecontroldesktop.cpp \ |
|
269 cxequalitypresetsdesktop.cpp \ |
|
270 cxesensoreventhandlerdesktop.cpp \ |
|
271 cxesettingsstoredesktop.cpp \ |
|
272 cxecameradevicedesktop.cpp \ |
|
273 cxeviewfinderwidgetdesktop.cpp \ |
|
274 cxegeotaggingtrail_desktop_p.cpp \ |
|
275 cxeenginedesktop.cpp |
|
276 } |