RESOLVED FIXED57015
[Qt] Make WebKit compile with modularized Qt with prefix
https://bugs.webkit.org/show_bug.cgi?id=57015
Summary [Qt] Make WebKit compile with modularized Qt with prefix
Kristian Amlie
Reported 2011-03-24 08:08:26 PDT
This is needed for modularized Qt. It should be safe to remove QTDIR_build references, since building inside Qt will not be supported anymore.
Attachments
Make-WebKit-compile-with-modularized-Qt-with-prefix (10.46 KB, patch)
2011-03-24 08:12 PDT, Kristian Amlie
no flags
Make-WebKit-compile-with-modularized-Qt-with-prefix-v2 (10.46 KB, patch)
2011-03-24 08:24 PDT, Kristian Amlie
benjamin: review-
Make-WebKit-compile-with-modularized-Qt-with-prefix-v3 (10.33 KB, patch)
2011-03-25 06:24 PDT, Kristian Amlie
no flags
Make-WebKit-compile-with-modularized-Qt-with-prefix-v4 (10.33 KB, patch)
2011-04-08 00:11 PDT, Kristian Amlie
benjamin: review-
Kristian Amlie
Comment 1 2011-03-24 08:12:18 PDT
Created attachment 86773 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix
Kristian Amlie
Comment 2 2011-03-24 08:24:55 PDT
Created attachment 86777 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix-v2 Small correction to ChangeLog.
Benjamin Poulain
Comment 3 2011-03-24 10:19:25 PDT
Comment on attachment 86777 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix-v2 View in context: https://bugs.webkit.org/attachment.cgi?id=86777&action=review > Source/JavaScriptCore/JavaScriptCore.pro:27 > +# Remove the following 2 lines if you want debug information in JavaScriptCore > +CONFIG -= separate_debug_info > +CONFIG += no_debug_info Hey, you are now removing debug info systematically! How are we supposed to work? :)
Kristian Amlie
Comment 4 2011-03-25 00:36:35 PDT
(In reply to comment #3) > Hey, you are now removing debug info systematically! How are we supposed to work? :) We just merged the two ways of building WebKit (inside and outside Qt) into one, and had to choose one approach. If you want us to remove it, we can also do that. Should I update the patch and take it away?
Benjamin Poulain
Comment 5 2011-03-25 05:50:36 PDT
(In reply to comment #4) > (In reply to comment #3) > > Hey, you are now removing debug info systematically! How are we supposed to work? :) > > We just merged the two ways of building WebKit (inside and outside Qt) into one, and had to choose one approach. If you want us to remove it, we can also do that. Should I update the patch and take it away? Yes please. I expect those who build webkit in debug to know what they do.
Kristian Amlie
Comment 6 2011-03-25 06:24:40 PDT
Created attachment 86928 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix-v3 Removed the no_debug_info section entirely.
Kristian Amlie
Comment 7 2011-04-01 01:34:22 PDT
Anything else needed from my side here, or is the patch ok?
Alexis Menard (darktears)
Comment 8 2011-04-07 12:57:36 PDT
Comment on attachment 86928 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix-v3 View in context: https://bugs.webkit.org/attachment.cgi?id=86928&action=review > ChangeLog:11 > + https://bugs.webkit.org/show_bug.cgi?id=57015 This should be on the top like on http://trac.webkit.org/changeset/43259 or http://trac.webkit.org/changeset/83184 . > Source/JavaScriptCore/ChangeLog:11 > + https://bugs.webkit.org/show_bug.cgi?id=57015 Ditto. > Source/WebCore/ChangeLog:11 > + https://bugs.webkit.org/show_bug.cgi?id=57015 Ditto. > Source/WebKit/qt/ChangeLog:11 > + https://bugs.webkit.org/show_bug.cgi?id=57015 Ditto. > Tools/ChangeLog:11 > + https://bugs.webkit.org/show_bug.cgi?id=57015 Ditto.
Kristian Amlie
Comment 9 2011-04-08 00:11:41 PDT
Created attachment 88777 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix-v4
Kristian Amlie
Comment 10 2011-04-08 00:26:08 PDT
(In reply to comment #8) > (From update of attachment 86928 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=86928&action=review > > > ChangeLog:11 > > + https://bugs.webkit.org/show_bug.cgi?id=57015 > > This should be on the top like on http://trac.webkit.org/changeset/43259 or http://trac.webkit.org/changeset/83184 . Also created https://bugs.webkit.org/show_bug.cgi?id=58120, since prepare-ChangeLog does this wrong.
Kristian Amlie
Comment 11 2011-04-08 06:03:57 PDT
FYI, I will be away for the next two weeks, so I will not respond during that time.
Alexis Menard (darktears)
Comment 12 2011-04-11 06:53:14 PDT
Down-prioritize to P3 because the modularization project is a bit unknown state to us. We can revisit those patches after QtWebKit will find its way to Qt source tree.
Eric Seidel (no email)
Comment 13 2011-05-23 15:10:51 PDT
I'm happy to rs=me this, but I suspect a qt person should offer an opinion.
Kenneth Rohde Christiansen
Comment 14 2011-05-23 15:12:26 PDT
Adding some of our build geniuses :-)
Alexis Menard (darktears)
Comment 15 2011-05-23 15:13:08 PDT
Comment on attachment 88777 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix-v4 I'll be happy to do an informal review and test but what is the procedure to test this? What is a modularized Qt with prefix? Is that still apply to Qt4?
Csaba Osztrogonác
Comment 16 2011-05-23 15:14:27 PDT
I cc-ed Andras, AFAIK he has modularized Qt to check it.
Jocelyn Turcotte
Comment 17 2011-05-24 01:19:39 PDT
Comment on attachment 88777 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix-v4 View in context: https://bugs.webkit.org/attachment.cgi?id=88777&action=review > ChangeLog:8 > + Make WebKit compile with modularized Qt with prefix No need to repeat this line. > Source/JavaScriptCore/JavaScriptCore.pro:-30 > -CONFIG(QTDIR_build) { > - # Remove the following 2 lines if you want debug information in JavaScriptCore > - CONFIG -= separate_debug_info > - CONFIG += no_debug_info > -} > - - This should be synchronized with the same section in WebCore.pri. - I don't think this should be completely removed though, this was a nice compromise for people, just wanting to use WebKit as a library, that have flacky linkers regarding memory space limits. We really need this for debug SDK builds. > Source/WebCore/features.pri:22 > -CONFIG(QTDIR_build) { > +!isEmpty(QT_SOURCE_TREE) { Do you know if this is always true for SDK builds? In any case we can get that to work later if it doesn't.
Benjamin Poulain
Comment 18 2011-05-30 14:39:55 PDT
Comment on attachment 88777 [details] Make-WebKit-compile-with-modularized-Qt-with-prefix-v4 r- based on Jocelyn's comment.
Csaba Osztrogonác
Comment 19 2012-02-21 08:36:53 PST
Is this bug still valid?
Tor Arne Vestbø
Comment 20 2012-02-21 09:20:51 PST
Nope-
Note You need to log in before you can comment on or make changes to this bug.