[webkit-qt] Using custom QtWebKit with KDE

Allan Sandfeld Jensen kde at carewolf.com
Sat Aug 4 05:15:45 PDT 2012


On Saturday 04 August 2012, Lindsay Mathieson wrote:
> On Sat, 4 Aug 2012 12:57:47 PM Allan Sandfeld Jensen wrote:
> > You do not need to rebuidl any KDE applications, the ABI is unchanged and
> > QtWebKit 2.3 is a drop in replacement for QtWebKit 2.2. The easiest way
> > is just to build newest QtWebKit, and then replace the one from Qt, or
> > set the environment variable LD_LIBRARY_PATH so that the new one is
> > preferred.
> > 
> > I am using QtWebKit from trunk on top of default KDE from Debian and it
> > works  fine.
> 
> Well thats much easier than I thought, will give it a spin
> 
Yep, to simply test it, you can build WebKit as normal against Qt4, then in 
the same terminal write 
LD_LIBRARY_PATH=`pwd`/WebKitBuild/Release/lib konqueror
to run it, or 
export LD_LIBRARY_PATH=`pwd`/WebKitBuild/Release/lib
ldd /usr/lib/libkdewebkit.so.5
to check if it picks up the right version of libQtWebKit.

It might be hard to otherwise tell a new version is actually used, since the 
new features added are rarely used on the web, and improved performance can be 
hard to tell by eye.

`Allan


More information about the webkit-qt mailing list