error: #error "Qt requires C++11 support

轉載自:http://www.javashuo.com/article/p-nktfhpmo-gx.htmlc++

在.pro文件裏面添加.net

 

QMAKE_CXXFLAGS += -std=c++11c++11

 

ORblog

 

CONFIG += c++11get