[webkit-qt] qtwebkit build issue

luying pan luying.pan at gmail.com
Fri Jan 28 13:18:29 PST 2011


Yes it's Centos 5. I can't get JavaScriptCore to build with the version of
gcc on Centos, but it seems to build with gcc44 (at least for the file which
errored out with gcc).

Luying

On Fri, Jan 28, 2011 at 4:13 PM, Konstantin Tokarev <annulen at yandex.ru>wrote:

>
>
> 28.01.2011, 23:57, "luying pan" <luying.pan at gmail.com>:
> > Thanks for the response. That only works the objects that are generated
> from the same makefile, but I think my general problem is that my compiler
> is too old. Do you know any ways to use gcc44 instead of gcc? I tried
> "export CC=gcc44" before running ./build-webkit -qt command, but that didn't
> help.
> >
>
>
> You can put any arguments fro qmake into build-webkit command line, e.g.
>
>
> build-webkit --qt --minimal --makeargs=-j4 QMAKE_CXXFLAGS=\"-Os
> -DQT_NO_GRAPHICSVIEW\"  QMAKE_CXXFLAGS_RELEASE=-Os CONFIG-=release
> CONFIG-=debug QMAKE_CXX=\"ccache g++\"
>
>
> But I think gcc 4.1.2 (you are on CentOS 5, right? :) should work for you,
> because even gcc 3.4 is known to build QtWebKit (
> http://doc.qt.nokia.com/latest/compiler-notes.html)
>
> --
> Regards,
> Konstantin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110128/025a25d8/attachment-0001.html>


More information about the webkit-qt mailing list