[Development] Compile qt-everywhere-opensource-src-4.8.5 failed.
hongyi.zhao at gmail.com
Tue Nov 5 13:33:17 CET 2013
On Tue, 05 Nov 2013 11:54:57 +0000, Bruning Michael wrote:
> I suppose you are using GCC version 4.7 or newer
Yes, see the following for detail:
werner at debian-asus:~$ gcc --version
gcc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> and have the gold
> linker installed. Linking QtWebKit using gold does not work with that
> GCC version, but the flag that sets it as the linker is added to
> QMAKE_LFLAGS anyway if gold is installed.
> A quick workaround for this is to edit the file
> src/3rdparty/webkit/Source/common.pri in your qt source tree and comment
> out the following lines with a #:
> #message(Using gold linker)
Thanks a lot for your hints. But I've tried to comment out the following
block in that file and also can complile it successfully:
# message(Using gold linker)
What's the difference between this two workarounds?
More information about the Development