How to enable custom gcc parameters in Qt Creator? [duplicate]
I needed to pass in "-std=c++0x" for g++ , in Qt Creator. I placed a variable in Build Environment:
![How to enable custom gcc parameters in Qt Creator? [duplicate] How to enable custom gcc parameters in Qt Creator? [duplicate]](https://i.stack.imgur.com/CRIX3.png)
But i still receive the warning:
warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
You need to add QMAKE_CXXFLAGS += -std=c++0x to your .pro file.
加载中,请稍侯......
精彩评论