[WebKit-devel] Error building against KDE 4.4.90/Qt 4.7.0 beta1
Dawit A
adawit at kde.org
Mon Jun 28 06:18:39 CEST 2010
On Sunday, June 27, 2010 19:20:12 alekcejk at googlemail.com wrote:
> Hi,
>
> I have got error when building kwebkitpart r1143138
> against KDE 4.4.90/Qt 4.7.0 beta1:
>
> /builddir/build/BUILD/kwebkitpart-0.9.0/src/kwebkitpart.cpp: In member
> function 'virtual bool KWebKitPart::closeUrl()':
> /builddir/build/BUILD/kwebkitpart-0.9.0/src/kwebkitpart.cpp:200: error:
> 'StopScheduledPageRefresh' is not a member of 'QWebPage'
>
> Full build log here: http://nucleo.fedorapeople.org/build.log
>
> Alexey Kurov <nucleo at fedoraproject.org>
That feature of QtWebKit is new and not present for Qt 4.7.0 beta1. See the
bug fix labeled "[Qt] Add a way to stop delayed redirect requests" at
http://trac.webkit.org/wiki/QtWebKitJournal#WeeklyBuildWeek22.
You run into this bug because unlike KDE Qt does not properly distinguish the
QT_VERSION #define for beta/rc releases. As such the #define protection used
in kwebkitpart is useless. Unfortunately, there is no fix for that except to
comment out the code that does not compile in kwebkitpart until the next Qt
4.7 release...
Regards,
Dawit A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/webkit-devel/attachments/20100628/7cde4519/attachment.htm
More information about the WebKit-devel
mailing list