58 |
58 |
59 # Common SOURCES, HEADERS from app |
59 # Common SOURCES, HEADERS from app |
60 # include($$ROOT_DIR/app/common/platform/platform.pri) |
60 # include($$ROOT_DIR/app/common/platform/platform.pri) |
61 # include($$ROOT_DIR/app/common/common.pri) |
61 # include($$ROOT_DIR/app/common/common.pri) |
62 |
62 |
63 TRANSLATIONS += $$PWD/translations/browserLoc.ts |
63 TRANSLATIONS += browserLoc.ts |
64 |
64 |
65 # ;;; Following can presumably go away if we will also use Qt's QtWebKit |
65 # ;;; Following can presumably go away if we will also use Qt's QtWebKit |
66 win32: { |
66 win32: { |
67 # adding the WRT bin directory to LIBPATH so that we can pickup QtWebkit.lib |
67 # adding the WRT bin directory to LIBPATH so that we can pickup QtWebkit.lib |
68 CONFIG(release, debug|release):WRT_BIN_DIR = $$PWD/../../../WrtBuild/Release/bin |
68 CONFIG(release, debug|release):WRT_BIN_DIR = $$PWD/../../../WrtBuild/Release/bin |
83 # NEW code for ginebra2 |
83 # NEW code for ginebra2 |
84 # |
84 # |
85 ################################################################################ |
85 ################################################################################ |
86 |
86 |
87 RESOURCES = ginebra2.qrc |
87 RESOURCES = ginebra2.qrc |
|
88 |
|
89 contains(br_layout, tenone) { |
|
90 RESOURCES += ginebra_tenone.qrc |
|
91 DEFINES += BROWSER_LAYOUT_TENONE |
|
92 } |
|
93 |
88 HEADERS = \ |
94 HEADERS = \ |
89 Application.h \ |
95 Application.h \ |
90 ActionButton.h \ |
96 ActionButton.h \ |
91 ActionButtonSnippet.h \ |
97 ActionButtonSnippet.h \ |
92 CachedHandler.h \ |
98 CachedHandler.h \ |
132 emulator/ChromeConsole.h \ |
138 emulator/ChromeConsole.h \ |
133 ViewController.h \ |
139 ViewController.h \ |
134 ViewStack.h \ |
140 ViewStack.h \ |
135 GWebTouchNavigation.h \ |
141 GWebTouchNavigation.h \ |
136 KineticHelper.h \ |
142 KineticHelper.h \ |
|
143 TitleItem.h \ |
137 Toolbar.h \ |
144 Toolbar.h \ |
138 ToolbarChromeItem.h \ |
145 ToolbarChromeItem.h \ |
139 ToolbarSnippet.h \ |
146 ToolbarSnippet.h \ |
140 ContentToolbarChromeItem.h \ |
147 ContentToolbarChromeItem.h \ |
141 ContentToolbarSnippet.h \ |
148 ContentToolbarSnippet.h \ |
142 DualButtonToolbarSnippet.h \ |
149 DualButtonToolbarSnippet.h \ |
143 WindowToolbarSnippet.h \ |
150 WindowToolbarSnippet.h \ |
144 BookmarksToolbarSnippet.h \ |
151 BookmarksToolbarSnippet.h \ |
145 SettingsToolbarSnippet.h \ |
152 SettingsToolbarSnippet.h \ |
146 RecentUrlToolbarSnippet.h \ |
153 RecentUrlToolbarSnippet.h \ |
|
154 TitleUrlContainerSnippet.h \ |
147 UrlSearchSnippet.h \ |
155 UrlSearchSnippet.h \ |
148 Downloads.h \ |
156 Downloads.h \ |
149 GAlternateFileChooser.h \ |
157 GAlternateFileChooser.h \ |
150 linearflowsnippet.h \ |
158 linearflowsnippet.h \ |
151 mostvisitedpageview.h \ |
159 mostvisitedpageview.h \ |
212 GSuperWebPage.cpp \ |
220 GSuperWebPage.cpp \ |
213 NativeChromeItem.cpp \ |
221 NativeChromeItem.cpp \ |
214 Snippets.cpp \ |
222 Snippets.cpp \ |
215 ScriptObjects.cpp \ |
223 ScriptObjects.cpp \ |
216 SlidingWidget.cpp \ |
224 SlidingWidget.cpp \ |
217 Charms\ObjectCharm.cpp \ |
225 Charms/ObjectCharm.cpp \ |
218 Charms\ExternalEventCharm.cpp \ |
226 Charms/ExternalEventCharm.cpp \ |
219 PageSnippet.cpp \ |
227 PageSnippet.cpp \ |
220 PageItem.cpp \ |
228 PageItem.cpp \ |
221 ProgressBarItem.cpp \ |
229 ProgressBarItem.cpp \ |
222 ProgressBarSnippet.cpp \ |
230 ProgressBarSnippet.cpp \ |
223 animators/FadeAnimator.cpp \ |
231 animators/FadeAnimator.cpp \ |
227 emulator/ChromeConsole.cpp \ |
235 emulator/ChromeConsole.cpp \ |
228 ViewController.cpp \ |
236 ViewController.cpp \ |
229 ViewStack.cpp \ |
237 ViewStack.cpp \ |
230 GWebTouchNavigation.cpp \ |
238 GWebTouchNavigation.cpp \ |
231 KineticHelper.cpp \ |
239 KineticHelper.cpp \ |
|
240 TitleItem.cpp \ |
232 ToolbarChromeItem.cpp \ |
241 ToolbarChromeItem.cpp \ |
233 ToolbarSnippet.cpp \ |
242 ToolbarSnippet.cpp \ |
234 ContentToolbarChromeItem.cpp \ |
243 ContentToolbarChromeItem.cpp \ |
235 ContentToolbarSnippet.cpp \ |
244 ContentToolbarSnippet.cpp \ |
236 DualButtonToolbarSnippet.cpp \ |
245 DualButtonToolbarSnippet.cpp \ |
237 WindowToolbarSnippet.cpp \ |
246 WindowToolbarSnippet.cpp \ |
238 BookmarksToolbarSnippet.cpp \ |
247 BookmarksToolbarSnippet.cpp \ |
239 SettingsToolbarSnippet.cpp \ |
248 SettingsToolbarSnippet.cpp \ |
240 RecentUrlToolbarSnippet.cpp \ |
249 RecentUrlToolbarSnippet.cpp \ |
|
250 TitleUrlContainerSnippet.cpp \ |
241 UrlSearchSnippet.cpp \ |
251 UrlSearchSnippet.cpp \ |
242 Downloads.cpp \ |
252 Downloads.cpp \ |
243 GAlternateFileChooser.cpp \ |
253 GAlternateFileChooser.cpp \ |
244 linearflowsnippet.cpp \ |
254 linearflowsnippet.cpp \ |
245 mostvisitedpageview.cpp \ |
255 mostvisitedpageview.cpp \ |
289 /epoc32/include/mw/hb/hbwidgets |
299 /epoc32/include/mw/hb/hbwidgets |
290 LIBS += -lHbCore -lHbWidgets |
300 LIBS += -lHbCore -lHbWidgets |
291 DEFINES += ORBIT_UI |
301 DEFINES += ORBIT_UI |
292 } |
302 } |
293 |
303 |
|
304 contains(br_mobility_serviceframework, yes) { |
|
305 DEFINES += QT_MOBILITY_SERVICE_FRAMEWORK |
|
306 } |
|
307 |
294 symbian: { |
308 symbian: { |
295 TARGET.EPOCALLOWDLLDATA = 1 |
309 TARGET.EPOCALLOWDLLDATA = 1 |
296 TARGET.EPOCSTACKSIZE = 0x14000 |
310 TARGET.EPOCSTACKSIZE = 0x14000 |
297 |
311 |
298 lessThan(QT_VERSION, 4.6.3) { |
312 lessThan(QT_VERSION, 4.6.3) { |
299 TARGET.EPOCHEAPSIZE = 0x20000 \ |
313 TARGET.EPOCHEAPSIZE = 0x20000 \ |
300 0x4000000 \ |
314 0x10000000 \ |
301 // \ |
315 // \ |
302 Min \ |
316 Min \ |
303 128kB, \ |
317 128kB, \ |
304 Max \ |
318 Max \ |
305 64MB |
319 256MB |
306 emulatorHeapSize = \ |
320 emulatorHeapSize = \ |
307 "$${LITERAL_HASH}ifdef WINSCW" \ |
321 "$${LITERAL_HASH}ifdef WINSCW" \ |
308 "EPOCHEAPSIZE 0x20000 0x2000000 // Min 128kB, Max 32MB" \ |
322 "EPOCHEAPSIZE 0x20000 0x2000000 // Min 128kB, Max 32MB" \ |
309 "$${LITERAL_HASH}endif" |
323 "$${LITERAL_HASH}endif" |
310 MMP_RULES += emulatorHeapSize |
324 MMP_RULES += emulatorHeapSize |
311 } else { |
325 } else { |
312 # Set conditional Epoc Heap Size |
326 # Set conditional Epoc Heap Size |
313 EHZ.WINSCW = "EPOCHEAPSIZE 0x20000 0x2000000" |
327 EHZ.WINSCW = "EPOCHEAPSIZE 0x20000 0x2000000" |
314 EHZ.default = "EPOCHEAPSIZE 0x20000 0x4000000" |
328 EHZ.default = "EPOCHEAPSIZE 0x20000 0x10000000" |
315 # Add the conditional MMP rules |
329 # Add the conditional MMP rules |
316 MYCONDITIONS = WINSCW |
330 MYCONDITIONS = WINSCW |
317 MYVARIABLES = EHZ |
331 MYVARIABLES = EHZ |
318 addMMPRules(MYCONDITIONS, MYVARIABLES) |
332 addMMPRules(MYCONDITIONS, MYVARIABLES) |
319 } |
333 } |
324 TARGET.UID3 = 0x10008D39 |
338 TARGET.UID3 = 0x10008D39 |
325 } |
339 } |
326 else { |
340 else { |
327 TARGET.UID3 = 0x200267DF |
341 TARGET.UID3 = 0x200267DF |
328 } |
342 } |
|
343 TARGET.VID = VID_DEFAULT |
|
344 |
329 LIBS += -lcommdb |
345 LIBS += -lcommdb |
330 LIBS += -lesock -lconnmon -linsock |
346 LIBS += -lesock -lconnmon -linsock |
331 LIBS += -lavkon -lapparc -leikcore -lcone -lws32 -lapgrfx |
347 LIBS += -lavkon -lapparc -leikcore -lcone -lws32 -lapgrfx |
332 |
348 |
333 # QtHighway is used in TB10.1 for Application Interworking (AIW) support. |
349 # QtHighway is used in TB10.1 for Application Interworking (AIW) support. |
334 contains(br_qthighway, yes) { |
350 contains(br_qthighway, yes) { |
335 DEFINES += QTHIGHWAY |
351 DEFINES += QTHIGHWAY |
336 LIBS += -lxqservice -lxqserviceutil |
352 LIBS += -lxqservice -lxqserviceutil |
337 CONFIG += service |
353 CONFIG += service |
338 SERVICE.FILE = service_conf.xml |
354 SERVICE.FILE = service_conf.xml |
339 SERVICE.OPTIONS = embeddable |
|
340 |
355 |
341 # Browser provides service for html files. |
356 # Browser provides service for html files. |
342 RSS_RULES += \ |
357 RSS_RULES += \ |
343 "datatype_list = " \ |
358 "datatype_list = " \ |
344 " {" \ |
359 " {" \ |
345 " DATATYPE" \ |
360 " DATATYPE" \ |
346 " {" \ |
361 " {" \ |
347 " priority = EDataTypePriorityNormal;" \ |
362 " priority = EDataTypePriorityNormal;" \ |
348 " type = \"text/html\";" \ |
363 " type = \"text/html\";" \ |
349 " }" \ |
364 " }" \ |
350 " };" |
365 " };" |
351 |
366 |
352 HEADERS += emulator/FileService.h |
367 HEADERS += emulator/FileService.h |
353 SOURCES += emulator/FileService.cpp |
368 SOURCES += emulator/FileService.cpp |
370 ./chrome/localpages/*.jpg \ |
385 ./chrome/localpages/*.jpg \ |
371 ./chrome/localpages/*.png |
386 ./chrome/localpages/*.png |
372 localpages.path = ./localpages |
387 localpages.path = ./localpages |
373 DEPLOYMENT += localpages |
388 DEPLOYMENT += localpages |
374 |
389 |
|
390 # backup restore file |
|
391 backuprestore.sources = ./data/backup_registration.xml |
|
392 backuprestore.path = ./ |
|
393 DEPLOYMENT += backuprestore |
|
394 |
375 !contains(DEFINES, NO_QSTM_GESTURE) { |
395 !contains(DEFINES, NO_QSTM_GESTURE) { |
376 qstmgesturelib.sources = qstmgesturelib.dll |
396 qstmgesturelib.sources = qstmgesturelib.dll |
377 qstmgesturelib.path = /sys/bin |
397 qstmgesturelib.path = /sys/bin |
378 DEPLOYMENT += qstmgesturelib |
398 DEPLOYMENT += qstmgesturelib |
379 } |
399 } |