RESOLVED FIXED 90519
[Qt] Buildfix for newer Qt5
https://bugs.webkit.org/show_bug.cgi?id=90519
Summary [Qt] Buildfix for newer Qt5
Csaba Osztrogonác
Reported 2012-07-04 00:16:45 PDT
I managed to build the latest Qt5 hash: a6f6e65088e3d5180e317f3d5894165b4a4016b7 And now I'm trying to build trunk WebKit with it. (I'm on r121830 now.) I have some minor fixes, I'll attach them immediately.
Attachments
first WIP patch (2.98 KB, patch)
2012-07-04 00:25 PDT, Csaba Osztrogonác
no flags
patch for EWS bots (3.07 KB, patch)
2012-07-04 03:37 PDT, Csaba Osztrogonác
no flags
Patch (6.21 KB, patch)
2012-07-04 05:24 PDT, Csaba Osztrogonác
no flags
Patch (6.21 KB, patch)
2012-07-04 05:59 PDT, Csaba Osztrogonác
no flags
Patch (2.44 KB, patch)
2012-07-05 05:59 PDT, Csaba Osztrogonác
no flags
Patch (4.86 KB, patch)
2012-07-05 06:36 PDT, Csaba Osztrogonác
webkit-ews: commit-queue-
[Qt] Switch to new-style Qt 5 configure tests (7.63 KB, patch)
2012-07-06 05:07 PDT, Tor Arne Vestbø
no flags
[Qt] Adjust to changed generation of master include file (4.97 KB, patch)
2012-07-06 05:07 PDT, Tor Arne Vestbø
no flags
[Qt] Remove redundant CONFIG+=module (2.66 KB, patch)
2012-07-06 05:07 PDT, Tor Arne Vestbø
no flags
[Qt] Don't let qt_webkit.pri proclaim its own location (2.65 KB, patch)
2012-07-06 05:07 PDT, Tor Arne Vestbø
no flags
[Qt] Let qt_module_config create the forwarding module pri file (1.09 KB, patch)
2012-07-06 05:08 PDT, Tor Arne Vestbø
no flags
[Qt] Unify qtFeatureDefaults code paths (3.34 KB, patch)
2012-07-06 05:08 PDT, Tor Arne Vestbø
no flags
[Qt] Add top-level .qmake.conf (3.78 KB, patch)
2012-07-06 05:08 PDT, Tor Arne Vestbø
no flags
[Qt] Remove custom qmake logic for module creation (7.09 KB, patch)
2012-07-06 05:08 PDT, Tor Arne Vestbø
no flags
[Qt] Make use of Qt5 qmake's changed makefile recursion behavior (7.01 KB, patch)
2012-07-06 05:08 PDT, Tor Arne Vestbø
no flags
Csaba Osztrogonác
Comment 1 2012-07-04 00:25:04 PDT
Created attachment 150723 [details] first WIP patch Here is my first WIP patch: - set QMAKEPATH to /home/oszi/WebKit/Tools/qmake before building manually - remove all "QT += declarative", because they are build fails now (but maybe it is still needed for Qt 4, I'll check it later.) - fix some depracated include suggested by latest Qt5 - use PWD instead of deprecated IN_PWD Now building QtTestBrowser fails with the following error message: Project ERROR: Unknown module(s) in QT: webkit I didn't check Ossi's patches now, maybe there are some overlapping, it is only my very quick experiment to see what is the status now.
Csaba Osztrogonác
Comment 2 2012-07-04 03:37:00 PDT
Created attachment 150759 [details] patch for EWS bots
WebKit Review Bot
Comment 3 2012-07-04 03:39:09 PDT
Attachment 150759 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/qt/WebCoreSupport/QtFallback..." exit_code: 1 Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp:26: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 4 2012-07-04 05:05:57 PDT
Comment on attachment 150759 [details] patch for EWS bots Attachment 150759 [details] did not pass qt-wk2-ews (qt): Output: http://queues.webkit.org/results/13127835
Csaba Osztrogonác
Comment 5 2012-07-04 05:12:29 PDT
Comment on attachment 150759 [details] patch for EWS bots View in context: https://bugs.webkit.org/attachment.cgi?id=150759&action=review >> Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp:26 >> -#include "qwindowsysteminterface_qpa.h" >> +#include "qpa/qwindowsysteminterface.h" > > Alphabetical sorting problem. [build/include_order] [4] Unfortunately this change won't work with the latest pinned Qt5 hash, because the new header isn't exist in it. But we need this change when we update Qt5, because the old header is deprecated and it would cause build fail.
Csaba Osztrogonác
Comment 6 2012-07-04 05:24:04 PDT
Csaba Osztrogonác
Comment 7 2012-07-04 05:25:42 PDT
Comment on attachment 150776 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150776&action=review > Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp:-26 > +#include "qpa/qwindowsysteminterface.h" > #include "qquickwebview_p_p.h" > -#include "qwindowsysteminterface_qpa.h" cq-, because this change doesn't work with the latest pinned Qt5 hash, but it will work with the updated Qt5. I'm going to land with the update.
Tor Arne Vestbø
Comment 8 2012-07-04 05:51:39 PDT
Comment on attachment 150776 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150776&action=review > Source/WebKit/qt/declarative/experimental/experimental.pri:28 > +haveQt(4): QT += declarative This one is not needed, we don't build webkit2 (and the experimental qml plugin) for qt4. > Source/api.pri:135 > + haveQt(4): QT += declarative This one is not needed, we don't build webkit2 for qt4, and we already include quick and qml modules in WebKit2.pri
Csaba Osztrogonác
Comment 9 2012-07-04 05:53:25 PDT
Comment on attachment 150776 [details] Patch Good point, I'll update the patch soon.
Csaba Osztrogonác
Comment 10 2012-07-04 05:59:15 PDT
Early Warning System Bot
Comment 11 2012-07-04 06:34:19 PDT
Csaba Osztrogonác
Comment 12 2012-07-05 05:59:43 PDT
Created attachment 150929 [details] Patch Only these include fixes are remaining for my previous patch. :)
Early Warning System Bot
Comment 13 2012-07-05 06:05:56 PDT
Tor Arne Vestbø
Comment 14 2012-07-05 06:12:42 PDT
Comment on attachment 150929 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150929&action=review > Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp:-26 > -#include "qwindowsysteminterface_qpa.h" We need similar fixes in other places. Here's the full diff: https://gist.github.com/3053577
Csaba Osztrogonác
Comment 15 2012-07-05 06:36:51 PDT
Created attachment 150933 [details] Patch patch for landing
Early Warning System Bot
Comment 16 2012-07-05 06:41:52 PDT
Tor Arne Vestbø
Comment 17 2012-07-06 05:07:32 PDT
Created attachment 151054 [details] [Qt] Switch to new-style Qt 5 configure tests
Tor Arne Vestbø
Comment 18 2012-07-06 05:07:41 PDT
Created attachment 151055 [details] [Qt] Adjust to changed generation of master include file
Tor Arne Vestbø
Comment 19 2012-07-06 05:07:48 PDT
Created attachment 151056 [details] [Qt] Remove redundant CONFIG+=module
Tor Arne Vestbø
Comment 20 2012-07-06 05:07:55 PDT
Created attachment 151057 [details] [Qt] Don't let qt_webkit.pri proclaim its own location
Tor Arne Vestbø
Comment 21 2012-07-06 05:08:03 PDT
Created attachment 151058 [details] [Qt] Let qt_module_config create the forwarding module pri file
Tor Arne Vestbø
Comment 22 2012-07-06 05:08:10 PDT
Created attachment 151059 [details] [Qt] Unify qtFeatureDefaults code paths
Tor Arne Vestbø
Comment 23 2012-07-06 05:08:18 PDT
Created attachment 151060 [details] [Qt] Add top-level .qmake.conf
Tor Arne Vestbø
Comment 24 2012-07-06 05:08:27 PDT
Created attachment 151061 [details] [Qt] Remove custom qmake logic for module creation
Tor Arne Vestbø
Comment 25 2012-07-06 05:08:36 PDT
Created attachment 151062 [details] [Qt] Make use of Qt5 qmake's changed makefile recursion behavior
Csaba Osztrogonác
Comment 26 2012-07-06 06:10:57 PDT
Comment on attachment 151054 [details] [Qt] Switch to new-style Qt 5 configure tests Clearing flags on attachment: 151054 Committed r121958: <http://trac.webkit.org/changeset/121958>
Csaba Osztrogonác
Comment 27 2012-07-06 06:12:13 PDT
Comment on attachment 151055 [details] [Qt] Adjust to changed generation of master include file Clearing flags on attachment: 151055 Committed r121959: <http://trac.webkit.org/changeset/121959>
Csaba Osztrogonác
Comment 28 2012-07-06 06:13:19 PDT
Comment on attachment 151056 [details] [Qt] Remove redundant CONFIG+=module Clearing flags on attachment: 151056 Committed r121960: <http://trac.webkit.org/changeset/121960>
Csaba Osztrogonác
Comment 29 2012-07-06 06:14:31 PDT
Comment on attachment 151057 [details] [Qt] Don't let qt_webkit.pri proclaim its own location Clearing flags on attachment: 151057 Committed r121961: <http://trac.webkit.org/changeset/121961>
Csaba Osztrogonác
Comment 30 2012-07-06 06:15:34 PDT
Comment on attachment 151058 [details] [Qt] Let qt_module_config create the forwarding module pri file Clearing flags on attachment: 151058 Committed r121962: <http://trac.webkit.org/changeset/121962>
Csaba Osztrogonác
Comment 31 2012-07-06 06:16:44 PDT
Comment on attachment 151059 [details] [Qt] Unify qtFeatureDefaults code paths Clearing flags on attachment: 151059 Committed r121963: <http://trac.webkit.org/changeset/121963>
Csaba Osztrogonác
Comment 32 2012-07-06 06:17:47 PDT
Comment on attachment 151060 [details] [Qt] Add top-level .qmake.conf Clearing flags on attachment: 151060 Committed r121964: <http://trac.webkit.org/changeset/121964>
Csaba Osztrogonác
Comment 33 2012-07-06 06:18:59 PDT
Comment on attachment 151061 [details] [Qt] Remove custom qmake logic for module creation Clearing flags on attachment: 151061 Committed r121965: <http://trac.webkit.org/changeset/121965>
Csaba Osztrogonác
Comment 34 2012-07-06 06:20:22 PDT
Comment on attachment 151062 [details] [Qt] Make use of Qt5 qmake's changed makefile recursion behavior Clearing flags on attachment: 151062 Committed r121966: <http://trac.webkit.org/changeset/121966>
Note You need to log in before you can comment on or make changes to this bug.