[webkit-dev] Building the Qt version on Linux

Julien Chaffraix julien.chaffraix at gmail.com
Sat Apr 12 07:13:16 PDT 2008


Hi,

> I got this building error of libQtWebKit shared library.
>
> tmp/chartables.o:(.rodata+0x0): multiple definition of
> `kjs_pcre_default_tables'
> tmp/pcre_tables.o:(.rodata+0xa0): first defined here
>
> The error is obvious because
> JavaScriptCore/pcre/pcre_tables.cpp has included the
> generated "C" file (#include "chartables.c")
>
> After commenting out that, build was successful. I just wonder, how that
> simple mistake is ignored.
>

I think I have bumped into this problem a few times. However IIRC
removing WebKitBuild (the directory where the build files are) did
resolve it.
If it keeps happening to you, feel free to file a bug at
http://bugs.webkit.org (you will need to register an account).

> I tried to run Qt Webkit.
>
> ./WebKitTools/Scripts/run-webkit-tests --qt
>
> It opens up the main window but I could not browse or do anything with it.
> Is this expected?

I think you have mistaken the command to run: run-webkit-tests is only
used to run tests (as its name states). It is used to validate new
patches and automatically detect some regressions.

The command to launch the browser is './WebKitTools/Scripts/run-launcher --qt'.

> I am pretty interested to help developing WebKit using Qt.

If you want to start working on WebKit, you should have a look at the
wiki (http://trac.webkit.org/projects/webkit/wiki/). There is a Qt
section which should help you getting started.

Hope it helps,

Julien


More information about the webkit-dev mailing list