#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
解決方法:
在工程文件.pro中添加:
QMAKE_CXXFLAGS+=-std=c++0x
或者
QMAKE_CXXFLAGS += -std=gnu++11
|