[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Using webkit with konqueror



Hi,


> a couple of months ago it seemed to work reasonably well. I don't think
> there is a Debian package, but it might be possible to compile it with KDE
> 4.2.2 if you install the headers (I have not tried).


I just tried to compile the webkit kpart with KDE 4.2.2 from Debian and it works without problems. You have to do the following. Create a directory for the sources, e.g. /usr/local/src/kde4 or ~/kde4. cd to that directory and do


svn co svn://anonsvn.kde.org/home/kde/trunk/playground/libs/webkitkde/


It will create a directory webkitkde with the sources. Do


cd webkitkde


and create a build directory:


mkdir build


Go to that directory and run cmake:


cd build
cmake ..


If you get error message, you have to install the appropriate headers (you can find them using apt-cache search package name. You need to install the packages that end with -dev). When cmake finishes without errors, run make:


make


Next you have to install the kpart:


make install


This might not work as normal user. If it does not work, do it as root. The webkit kpart will be installed to /usr/local. Next you have to restart KDE. Then open a page in konqueror. You can switch engines with


View -> View Mode -> {KHTML, WebKit}


This only works if a page is open.


If you want to set the WebKit part as default, run:
'keditfiletype text/html'
and move "WebKit (webkitpart)" in the "Embedding" tab to the top.


For me, youtube did not show any videos with the webkit kpart (it does with khtml).


Have fun,
Michael


Reply to: