[Interest] qmake and CONFIG += c++14

Thiago Macieira thiago.macieira at intel.com
Thu Mar 26 06:57:15 CET 2015


On Thursday 26 March 2015 06:49:50 Wilhelm wrote:
> Am 26.03.2015 um 06:15 schrieb Thiago Macieira:
> > On Thursday 26 March 2015 06:07:24 Wilhelm wrote:
> >> That looks strange to me: if I define several kits (with different
> >> compilers like g++ and clang++ or ms vs) in qtcreator I would expect
> >> that the CONFIG+=c++14 variable would be translated to the correct
> >> compiler flag.
> > 
> > That's not how it works. The version of the compiler is detected when you
> > configure Qt and never again.
> 
> I'm not talking about compiling Qt!
> I'm talking about compiling another C++ project that relies on c++14
> support.

I know you aren't.

I'm telling you how things are. The c++14 option only works for the compiler 
Qt was compiled for. You can call it a bug if you want and report it.

> http://doc.qt.io/qt-5/qmake-variable-reference.html#config

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




More information about the Interest mailing list