標題: 解決#error This file requires compiler and library support for the ISO C++ 2... [打印本頁]

作者: wangyin    時間: 2014-7-30 14:08
標題: 解決#error This file requires compiler and library support for the ISO C++ 2...
#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



作者: qiao1997    時間: 2020-9-14 11:04
姐姐,windows下怎么解決





歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1