WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11467
patch to make the kde support optional in the Qt build
https://bugs.webkit.org/show_bug.cgi?id=11467
Summary
patch to make the kde support optional in the Qt build
Simon Hausmann
Reported
2006-10-31 08:12:27 PST
This patch makes the linkage against the kde libraries and the use of KDE classes optional for the Qt build.
Attachments
patch to allow a qt-only build without kde dependencies
(13.57 KB, patch)
2006-10-31 08:13 PST
,
Simon Hausmann
no flags
Details
Formatted Diff
Diff
new patch to make compilation with kde optional
(13.44 KB, patch)
2006-10-31 08:46 PST
,
Simon Hausmann
mjs
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Simon Hausmann
Comment 1
2006-10-31 08:13:45 PST
Created
attachment 11297
[details]
patch to allow a qt-only build without kde dependencies
Simon Hausmann
Comment 2
2006-10-31 08:46:20 PST
Created
attachment 11298
[details]
new patch to make compilation with kde optional
Simon Hausmann
Comment 3
2006-10-31 08:47:58 PST
Comment on
attachment 11298
[details]
new patch to make compilation with kde optional The difference to the previous patch are just adaptions to the coding style
Enrico Ros
Comment 4
2006-10-31 09:58:52 PST
I'm coming up with the network fetcher on Resource Hangle too. I'll add some patches soon. Plus, as we discussed with Nikolas, I'll make ResourceHanhleManagerQt and ResourceHandleManagerKDE, each to be linked with the right implementation. Enrico Ros
Maciej Stachowiak
Comment 5
2006-11-01 15:17:26 PST
Comment on
attachment 11298
[details]
new patch to make compilation with kde optional r=me Have you considered making a platform/kde directory and factoring some of this so that there can be kde and pure-qt versions of some things? Also, I would suggest refactoring the qt port to not need ResourceHandleManager, the Qt and KDE versions of ResourceHandle could directly each handle an underlying platform loader. This is the direction things are moving in for the other ports. This is ok to land though.
Simon Hausmann
Comment 6
2006-11-02 02:19:53 PST
(In reply to
comment #5
)
> (From update of
attachment 11298
[details]
[edit]) > r=me > > Have you considered making a platform/kde directory and factoring some of this > so that there can be kde and pure-qt versions of some things?
Yes exactly, that is the plan for the future.
> Also, I would suggest refactoring the qt port to not need > ResourceHandleManager, the Qt and KDE versions of ResourceHandle could directly > each handle an underlying platform loader. This is the direction things are > moving in for the other ports. This is ok to land though. >
Yes, that is definitely the next step, making the ResourceHandles a bit more intelligent themselves instead of delegating everything to the otherwise useless 'Manager'. For the Qt/KDE port we would probably end up letting ResourceHandleInternal inherit from QObject so we can bind it to signal/slot/timer based network backends. Enrico, what's the status of your patch? Shall we see about getting mine in first as a start or are you already done anyway?
Enrico Ros
Comment 7
2006-11-02 03:09:26 PST
Land yours asap. I'm merging the patches but since they involve QThread I'm debugging the whole stuff. (I didn't like to place all on gui's event loop). So the patch is quite finished, implementing Storage and Network/HTTP loading, but then I have to learn how to edit the changelog and make a 'standard' patch like yours. So just go ahead, I'll try to get ready. Btw: the buildsystem .pro/.pri, based on yours is debugged and up-to-date to head, but I can't make a patch since I don't know where to put these files and maybe the config.h.qmake. May I send you stuff so you can review and make a patch ?
Simon Hausmann
Comment 8
2006-11-02 03:20:00 PST
(In reply to
comment #7
)
> Land yours asap. > I'm merging the patches but since they involve QThread I'm debugging the whole > stuff. (I didn't like to place all on gui's event loop). So the patch is quite > finished, implementing Storage and Network/HTTP loading, but then I have to > learn how to edit the changelog and make a 'standard' patch like yours. > So just go ahead, I'll try to get ready.
Okay.
> Btw: the buildsystem .pro/.pri, based on yours is debugged and up-to-date to > head, but I can't make a patch since I don't know where to put these files and > maybe the config.h.qmake. May I send you stuff so you can review and make a > patch ?
Sure! I'd be happy to help with that.
Anders Carlsson
Comment 9
2006-11-02 19:22:31 PST
Committed revision 17553.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug