mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qt link error


From: Nikos Chantziaras
Subject: Re: [Mingw-cross-env-list] Qt link error
Date: Sat, 27 Mar 2010 22:53:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100322 Thunderbird/3.0.3

On 03/27/2010 09:59 PM, Mark Brand wrote:


Please issue the following commands within the shell in which you
executed "make qt":

set
export

and send the output to us. There might be an environment variable
confusing the Qt build. If that's the case, we can solve the easily.
Mingw-cross-env already contains a blacklist of dangling environment
variables which are automatically unset before any build.

http://foss.math.aegean.gr/~realnc/set
http://foss.math.aegean.gr/~realnc/export



Thanks. Could you try again after removing these from your environment?

QMAKESPEC=linux-g++
QTDIR=/usr/qt/3
QT_PLUGIN_PATH=/home/realnc/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/

That helped and Qt built successfully. I suspect it was just QMAKESPEC that was causing the error though. QTDIR is ignored by Qt4 entirely, it's only used by Qt3. QT_PLUGIN_PATH can't have an effect upon compile time, only runtime.

How do I peform a "make clean" that only cleans out Qt so I can rebuild with only QMAKESPEC unset to test?

It's a bit strange though that not more people came across this problem. QMAKESPEC is always set on systems that have the Qt development environment installed, otherwise qmake can't work correctly.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]