[Development] bug: qmake ignores mkspec while building inside Qt source tree (trying to do 32bit build on 64bit host)

Thiago Macieira thiago.macieira at intel.com
Mon Mar 23 22:03:28 CET 2015


On Monday 23 March 2015 22:03:13 René J.V. Bertin wrote:
> - the reason the compiler settings from the mkspec are ignored is because
> qmodule.pri contains QMAKE_CC and QMAKE_CXX definitions. I don't know why
> those variables get set in there; are they taken from the CC and CXX env.
> variables (that are set by the MacPort environment in which my build takes
> place)?

Yes.

That was removed for Qt 5.4.0 because, as you can see, it doesn't work. I 
added it for Qt 4.2, one of my first few contributions and not my cleanest 
code....

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list