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

Thiago Macieira thiago.macieira at intel.com
Mon Mar 23 07:18:17 CET 2015


On Monday 23 March 2015 05:46:47 Hausmann Simon wrote:
> I think we are talking about the compiler that is used to build qmake here,
> not the tools. I agree that -platform should be used for the tools, but for
> qmake itself IMO any compiler should suffice and not require parsing of the
> platform qmake spec (yes, we have some awk hacks in configure to parse the
> mkspec without qmake, but those are hacks

The point is that we extract QMAKE_CC and QMAKE_CXX from the mkspec so that we 
can build qmake.

The C compiler is usually called "cc", but the C++ compiler has no 
standardised name. We need the mkspec to know it.

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




More information about the Development mailing list