C++11 support in QtCreator
-
My QtCreator is version 3.2.0 which was bundled with Qt 5.3.1.
OS is Linux Ubuntu 12.04 LTS
g++ is version 4.9.0 (for c++11 features such as std::unique_ptr).Everything seems to work OK, but when I add
@CONFIG += c++11@
to my .pro file, QtCreator's compile output is showing that it is passing
@-std=c++0x@
instead of
@-std=c++11@
to the compiler.
I was wondering why, and if there might be a problem with my setup? The gcc version is newer than the one that ships with this version of Ubuntu.
-
Hi,
It's the same. "Wiki":http://en.wikipedia.org/wiki/C++11
-
Thanks for the link ... that is a great reference page!