Bug 57018

Summary: [Qt] Remove modular references after support for the flag was removed.
Product: WebKit Reporter: Kristian Amlie <kristian.amlie>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Critical CC: abecsi, benjamin, commit-queue, ossy, robert
Priority: P1 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Removed-modular-references-after-support-for-the-flag-was-removed
none
Removed-modular-references-after-support-for-the-flag-was-removed-v2
none
Removed-modular-references-after-support-for-the-flag-was-removed-v3 none

Kristian Amlie
Reported 2011-03-24 08:33:42 PDT
Support was removed because the Qt Modularization project decided we don't need it. It's better to base decisions on the available information, as demonstrated in the patch by checking QT.phonon.includes. In addition, remove the reference to uitools. It has been moved to QtKernel now, and therefore is always available.
Attachments
Removed-modular-references-after-support-for-the-flag-was-removed (2.04 KB, patch)
2011-03-24 08:36 PDT, Kristian Amlie
no flags
Removed-modular-references-after-support-for-the-flag-was-removed-v2 (1.85 KB, patch)
2011-04-01 01:27 PDT, Kristian Amlie
no flags
Removed-modular-references-after-support-for-the-flag-was-removed-v3 (1.85 KB, patch)
2011-04-08 00:33 PDT, Kristian Amlie
no flags
Kristian Amlie
Comment 1 2011-03-24 08:36:11 PDT
Created attachment 86779 [details] Removed-modular-references-after-support-for-the-flag-was-removed
WebKit Commit Bot
Comment 2 2011-03-29 04:58:58 PDT
The commit-queue encountered the following flaky tests while processing attachment 86779 [details]: security/block-test-no-port.html bug 52164 (author: pam@chromium.org) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 3 2011-03-29 05:01:57 PDT
Comment on attachment 86779 [details] Removed-modular-references-after-support-for-the-flag-was-removed Clearing flags on attachment: 86779 Committed r82232: <http://trac.webkit.org/changeset/82232>
WebKit Commit Bot
Comment 4 2011-03-29 05:02:02 PDT
All reviewed patches have been landed. Closing bug.
Robert Hogan
Comment 5 2011-03-30 15:17:50 PDT
This broke: platform/qt/plugins/qt-qwidget-plugin.html plugins/application-plugin-plugins-disabled.html http://trac.webkit.org/changeset/82489 prompted it to start failing the two tests by touching DumpRendertreeQt.cpp: The problem seems to be here: http://trac.webkit.org/changeset/82240/trunk/Source/WebKit.pri DRT is now getting built with QT_NO_UITOOLS inherited from WebKit.pri - as a result createPlugins() doesn't create the QtPlugins in the failing tests.
Csaba Osztrogonác
Comment 6 2011-03-30 20:24:09 PDT
Reopen, becaue I rolled out the patch and the Symbian buildfix before go to bed at 5:22 am : http://trac.webkit.org/changeset/82539 We can check it after sleeping.
Andras Becsi
Comment 7 2011-03-31 02:54:47 PDT
(In reply to comment #0) > In addition, remove the reference to uitools. It has been moved to QtKernel now, and therefore is always available. Does that mean that QtKernel now depends on uitools internally? Because I checked Qt master ToT now and uitools is still in tools/designer/src/uitools. If UiLoader is always available, some more changes might be needed in: Tools/DumpRenderTree/qt/DumpRenderTree.pro Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp Tools/QtTestBrowser/QtTestBrowser.pro Tools/QtTestBrowser/launcherwindow.h Tools/QtTestBrowser/webpage.cpp However this would probably cause the Symbian and minimal builds to break. We definetely need more information on this.
Csaba Osztrogonác
Comment 8 2011-03-31 03:16:47 PDT
I chekced it on the buildbot. contains(QT_CONFIG, modular) - false !contains(QT_CONFIG, uitools) - true disable_uitools - false Accordingly the original "contains(QT_CONFIG, modular):!contains(QT_CONFIG, uitools)|disable_uitools" is false, but my Symbian buildfix: "!contains(QT_CONFIG, uitools)|disable_uitools" is true. It is absolutely incorrect, because with Qt 4.7.2, I have working uitools, but don't have modular in my QT_CONFIG and don't have uitools in my QT_CONFIG. I'm going to check how can we make Qt 4.7.2 and Qt trunk users happy.
Kristian Amlie
Comment 9 2011-03-31 08:57:11 PDT
Yes, I think maybe that part about uitools must be brought back. I didn't think about the case where a certain platform leaves out uitools. For Linux it's always compiled. I'll get a new patch up first thing tomorrow morning.
Kristian Amlie
Comment 10 2011-04-01 01:27:28 PDT
Created attachment 87833 [details] Removed-modular-references-after-support-for-the-flag-was-removed-v2 Updated version, now with the check for uitools kept intact.
Alexis Menard (darktears)
Comment 11 2011-04-07 12:56:04 PDT
Comment on attachment 87833 [details] Removed-modular-references-after-support-for-the-flag-was-removed-v2 View in context: https://bugs.webkit.org/attachment.cgi?id=87833&action=review > ChangeLog:13 > + https://bugs.webkit.org/show_bug.cgi?id=57018 This should be on the top : look this example changelog entry http://trac.webkit.org/changeset/43259 .
Kristian Amlie
Comment 12 2011-04-08 00:33:02 PDT
Created attachment 88780 [details] Removed-modular-references-after-support-for-the-flag-was-removed-v3
Kristian Amlie
Comment 13 2011-04-08 06:04:24 PDT
FYI, I will be away for the next two weeks, so I will not respond during that time.
Andreas Kling
Comment 14 2011-04-08 11:11:27 PDT
Comment on attachment 88780 [details] Removed-modular-references-after-support-for-the-flag-was-removed-v3 rs=me
WebKit Commit Bot
Comment 15 2011-04-08 13:37:48 PDT
The commit-queue encountered the following flaky tests while processing attachment 88780 [details]: java/lc3/JSObject/ToObject-001.html bug 53091 (author: ap@webkit.org) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 16 2011-04-08 13:41:05 PDT
Comment on attachment 88780 [details] Removed-modular-references-after-support-for-the-flag-was-removed-v3 Clearing flags on attachment: 88780 Committed r83340: <http://trac.webkit.org/changeset/83340>
WebKit Commit Bot
Comment 17 2011-04-08 13:41:09 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.