[WebKit-devel] Compilation against KDE 4.3?
Urs Wolfer
uwolfer at kde.org
Thu Aug 6 20:55:28 CEST 2009
On Thursday 06 August 2009 19:56:48 Adrian von Bidder wrote:
> Heyho!
>
> [ Can you please cc: me on replies, thanks. I'll not subscribe to any
> new mailing lists at least until KDE #186853 is fixed. :-]
>
> The Debian KDE packaging guys are stunningly fast: I got 4.3 packages from
> unstable befre I read the 4.3 final release announcement in my email :-)
>
> Now I'm trying to prepare a new version of the webkitkde Debian package
> (current is at r995948) and hit a compilation problem:
>
> First is the version test in kdelauncher/CMakeLists.txt that needs updating
> (I just essentially did
> ===
> -if(${KDE_VERSION_MINOR} EQUAL "2" AND ${KDE_VERSION_RELEASE} GREATER "69")
> -else(${KDE_VERSION_MINOR} EQUAL "2" AND ${KDE_VERSION_RELEASE} GREATER
> "69") +if(${KDE_VERSION_MINOR} EQUAL "3")
> +else(${KDE_VERSION_MINOR} EQUAL "3")
> ===
> locally since I don't care about the 4.2.xx packages in the Debian
> packaging. You'll probably want to commit the check maintaining the 4.2.70
> barrier.)
I have removed this code now; KDE 4.3 is required.
> But then, and remember that I'm only the packager and don't know Qt/KDE
> code, I hit the following compilation error that I don't know how to fix:
>
> ===
> make[3]: Entering directory `/home/avbidder/webkit/hg/webkitkde/build'
> [ 25%] Building CXX object
> kdewebkit/CMakeFiles/kdewebkit.dir/kdewebkit_automoc.o [ 30%] Building CXX
> object kdewebkit/CMakeFiles/kdewebkit.dir/kwebview.o
> /home/avbidder/webkit/hg/webkitkde/kdewebkit/kwebview.cpp: In member
> function ‘void KWebView::loadUrl(const KUrl&, const
> KParts::OpenUrlArguments&, const KParts::BrowserArguments&)’:
> /home/avbidder/webkit/hg/webkitkde/kdewebkit/kwebview.cpp:208: error:
> ‘class KIO::MetaData’ has no member named ‘toVariant’ make[3]: ***
> [kdewebkit/CMakeFiles/kdewebkit.dir/kwebview.o] Error 1 ===
>
> This is with kdelibs5-dev 4:4.3.0-1 and libqt4-dev 4:4.5.2-1 (Debian
> package versions.)
I have just committed a fix to allow build with KDE 4.3 (untested). Please try
and report if it works. Thanks.
Bye
urs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/webkit-devel/attachments/20090806/f15b0323/attachment.sig
More information about the WebKit-devel
mailing list