0
点赞
收藏
分享

微信扫一扫

qt报错 his file requires compiler and library support for the ISO C++ 2011 standard.

迎月兮 2022-11-07 阅读 84


先看qt工程的一个错误

his file requires compiler and library support for the ISO C++ 2011 standard.

出现这种问题是因为qt工程使用了c11标准的库,因此需要改下pro的配置,

加上​​QMAKE_CXXFLAGS += -std=c++0x​​​​CONFIG += C++11​

如图

qt报错 his file requires compiler and library support for the ISO C++ 2011 standard._c++


执行clean ,重新构建


举报

相关推荐

0 条评论