[Qt-interest] Linking Weirdness?
R. Reucher
rene.reucher at batcom-it.net
Tue May 5 20:43:42 CEST 2009
On Tue May 5 2009 19:47:46 Gary Coulbourne wrote:
> I've noticed, with 4.5.1 on linux, that when Qt reaches the phase of
> linking with projects that use pthreads, that it is very persistent about
> linking the pthreads library. It REALLY wants pthreads. Take a look at
> this line from compiling Creator:
> ...
> The -pthread flag gets set at least 9 times in there. GCC collapses them,
> obviously, but it makes me wonder; why does Qt's make process spew so many?
> My own code sometimes causes Qt to give me 20, 30, or more -pthreads flags.
> It seems to be the only flag that Qt gets so hung up on.
That's a known issue -- at least it's been reported here long ago (I'm not
sure if there was an explanation at that time or not). I simply ignore this
meanwhile... the question remains valid, though. My guess is that it's a
qmake bug ;)!
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
"He flung himself on his horse and rode madly off in all directions"
More information about the Qt-interest-old
mailing list