[WebKit-devel] Compilation against KDE 4.3?

Dawit A. adawit at kde.org
Fri Aug 7 01:16:02 CEST 2009


On Thursday 06 August 2009 18:17:20 Ingmar Vanhassel wrote:
> Excerpts from Urs Wolfer's message of Thu Aug 06 20:55:28 +0200 2009:
> > I have just committed a fix to allow build with KDE 4.3 (untested).
> > Please try and report if it works. Thanks.
>
> Still fails here in a different spot:
>
> /var/tmp/paludis/build/kde-webkitkde-scm/work/webkitkde-scm/kdewebkit/kwebp
>age.cpp: In member function 'virtual QNetworkReply*
> NetworkAccessManager::createRequest(QNetworkAccessManager::Operation, const
> QNetworkRequest&, QIODevice*)':
> /var/tmp/paludis/build/kde-webkitkde-scm/work/webkitkde-scm/kdewebkit/kwebp
>age.cpp:99: error: no match for 'operator+=' in 'metaData +=
> QVariant::toMap() const()' /usr/include/kio/global.h:396: note: candidates
> are: KIO::MetaData& KIO::MetaData::operator+=(const QMap<QString,
> QString>&)
> /var/tmp/paludis/build/kde-webkitkde-scm/work/webkitkde-scm/kdewebkit/kwebp
>age.cpp:100: error: 'class KIO::MetaData' has no member named 'toVariant'
> /var/tmp/paludis/build/kde-webkitkde-scm/work/webkitkde-scm/kdewebkit/kwebp
>age.cpp: In member function 'virtual void
> KWebPage::slotDownloadRequested(const QNetworkRequest&, QNetworkReply*)':
> /var/tmp/paludis/build/kde-webkitkde-scm/work/webkitkde-scm/kdewebkit/kwebp
>age.cpp:454: error: conversion from 'QMap<QString, QVariant>' to non-scalar
> type 'KIO::MetaData' requested
>
> part/webkitpart.cpp & kdewebkit/kwebpage.cpp still need fixing afaics
>
> Regards,
> Ingmar

kdelibs/kio/kio/global.* needs to be patched with the attached diff file to 
address the compilation issues you reported here. I am going to back port the 
fix to the KDE 4.3 branch soon...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kio_global.diff
Type: text/x-patch
Size: 3086 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/webkit-devel/attachments/20090806/484faabd/attachment.diff 


More information about the WebKit-devel mailing list