[webkit-dev] Building the Qt version on Linux
julien.chaffraix at gmail.com
Sun Apr 13 05:18:08 PDT 2008
[Adding the list again]
On 4/12/08, sea <mitigosea at gmail.com> wrote:
> Hi Julien,
> Thanks for your reply. I actually ran
> "WebKitTools/Scripts/run-launcher --qt". That was wrong
> copy-paste mistake ./WebKitTools/Scripts/run
> -webkit-tests --qt".
Sorry, I should have understood the copy/paste mistake (I was somehow
mislead by your first description).
> When I ran the launcher, it shows the loading 100% on
> the bottom right and "stop" button is enabled. Whichevert URL, I type, does
> nothing. Right click shows "Inspect" options. Inspecting shows the
> configuration info. So I could not browse with this QT build of WebKit.
I think you are hitting a known limitation in the Qt port: it only
accepts full URL (including the protocol part). For example, if you
want to go to google.com, you will need to enter http://google.com in
the URL bar (or directly on the command line after the run-launcher
FYI, when you enter a URL that is rejected, it falls back to the
previous page so it seems to do nothing.
> On Sat, Apr 12, 2008 at 5:13 PM, Julien Chaffraix
> <julien.chaffraix at gmail.com> wrote:
> > 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
> > > 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
> > > 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