Qt Creator支持C++11

1.Qt开发中,经常会用到 C++11 的新特性,为了Qt支持C++11的新特性,需要在 xxxx.pro 文件添加:


QMAKE_CXXFLAGS += -std=c++11


CONFIG += c++11

猜你喜欢

转载自blog.csdn.net/lixiaogang_theanswer/article/details/80783141