RESOLVED WONTFIX 55953
[Qt][Symbian] Building QtTestBrowser alone on symbian fix
https://bugs.webkit.org/show_bug.cgi?id=55953
Summary [Qt][Symbian] Building QtTestBrowser alone on symbian fix
Mahesh Kulkarni
Reported 2011-03-08 11:28:09 PST
Build fix for building QtTestBrowser alone from webkit/Tools/QtTestBrowser on symbian. As the test browser doesnt get built by default building it individually complains about the local API's mismatch. Simple fix to use local qtwebkit headers instead from epoc32/include
Attachments
patch (1.01 KB, patch)
2011-03-08 11:35 PST, Mahesh Kulkarni
hausmann: review+
hausmann: commit-queue-
Mahesh Kulkarni
Comment 1 2011-03-08 11:35:16 PST
Created attachment 85067 [details] patch simple fix for building qtTestBrowser alone from webkit/Tools/QtTestbrowser on symbian and make it use locally built header files instead of epoc32 headers
Alexis Menard (darktears)
Comment 2 2011-03-10 11:37:13 PST
Comment on attachment 85067 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=85067&action=review > Tools/ChangeLog:5 > + [QT][S60] Building QtTestBrowser alone on symbian fix [QT] -> [Qt] > Tools/ChangeLog:8 > + Include local headers for qtwebkit build instead of epoc32 headers for symbian. qtwebkit -> QtWebKit
Laszlo Gombos
Comment 3 2011-03-16 06:03:35 PDT
Mahesh, the way we usually solve this problem is the following (see for example WebCore.pri): # On Symbian PREPEND_INCLUDEPATH is the best way to make sure that WebKit headers # are included before platform headers. symbian { PREPEND_INCLUDEPATH = $$OUTPUT_DIR/include/QtWebKit $$QT.script.includes $$PREPEND_INCLUDEPATH } else { INCLUDEPATH = $$OUTPUT_DIR/include/QtWebKit $$QT.script.includes $$INCLUDEPATH } Can you give it a try ?
Simon Hausmann
Comment 4 2011-04-26 15:38:32 PDT
Comment on attachment 85067 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=85067&action=review I'm going to say r+, but please fix the style issues before landing > Tools/QtTestBrowser/QtTestBrowser.pro:27 > +symbian:INCLUDEPATH+=../../Source/include/QtWebKit Style nitpick: space after : and before/after +=
Mahesh Kulkarni
Comment 5 2011-06-03 12:33:14 PDT
Marking this as wontfix as actual fix is to support --install-headers option of build-webkit script, which will be raised as new bug.
Note You need to log in before you can comment on or make changes to this bug.