[Interest] Compiling Programs with C++11 with Qt5, which was compiled without C++11 flag. Possible?

Guido Seifert wargand at gmx.de
Thu Aug 15 02:58:06 CEST 2013


Do you sleep never? :-)

> We don't use delegating constructors anywhere in Qt, in any version.

That's not what I meant. When Qt is compiled without C++11, can it be used to develop programs, which use C++11? I know, this is a rather far fetched speculation, but...

> Either the error is bogus or the interpretation of the error is bogus.

... as far as I understood him, the program compiles and runs until he adds 
CONFIG+=C++11 to his .pro file. And in the code the only C++11 feature, which he tried yet, was a delegating constructor. 

He uses Qt 5.0.1 and gcc 4.7.3.

I use Qt 5.1.1 and gcc 4.8 and have absolutely no problem with C++11.

Guido



More information about the Interest mailing list