[Development] bug: qmake ignores CMAKE_CC and CMAKE_CXX while building Qt 5.3.2???

Oswald Buddenhagen oswald.buddenhagen at theqtcompany.com
Tue Mar 24 12:01:44 CET 2015

On Sun, Mar 22, 2015 at 09:29:11PM +0100, René J.V. Bertin wrote:
> I found the immediate culprit: build/qtbase/qmake/.qmake.stash
you shouldn't even have that file. it means you tried to build qmake
with qmake, which is a bit of a non-starter for hopefully obvious
reasons (the project files are there just for qt creator).
use configure to regenerate the correct Makefile.

as for overriding specific variables, hacking the *host* makespec
(before configuring) as others pointed out will work.

More information about the Development mailing list