Keep answering my own questions lately
-std=c++0x worked.
Thanks.
I am moving my projects under ubuntu12.4/qtcreator/gcc from windows/VS2010
Under this new environment I was getting the error about nullptr not being defined. GCC version is 4.6.3, which should support c+11, but I went ahead and installed gc4.7. Then I created "manual toolchain" in qtCreator and pointed it to the new gcc4.7. The error was still there.
Next, I added following option to my .pro file:
QMAKE_CXXFLAGS += -std=c++11
to support c++11 features.
Now I am getting the error:
[release/<myprojectname.0>] Error 1
File not found:
I'll appreciate any help in setting up the qtCreator environment to support c++11 features.
Also: what is this error?
And also: how to change the name of the manual toolchain config? I cloned it from autodetected one and it is now "cloned from...". I'd like to change it to some meaningful one, like "gcc4.7"
Thanks.
Bookmarks