迎月兮

关注

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

迎月兮

关注

阅读 84

2022-11-07


先看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 ,重新构建


相关推荐

君心浅语

error This file requires compiler and library support for the ISO C++ 2011 standard. This support is

君心浅语 100 0 0

天际孤狼

error: #error This file requires compiler and library support for the ISO C++ 2011 standard.

天际孤狼 181 0 0

AbrahamW

linux下安装安装pcre configure: error: You need a C++ compiler for C++ support

AbrahamW 163 0 0

椰果玩安卓

讯搜安装报错You need a working C++ compiler to compile Xapian

椰果玩安卓 62 0 0

艾米吖

Linux下编译ffmpeg报错gcc is unable to create an executable file C compiler test failed.

艾米吖 101 0 0

高子歌

C++写数据到文件中报错:Error: Unable to open log file.

高子歌 6 0 0

香小蕉

【Visual Studio】报错 LNK2019,使用 C++ 语言,配合 Qt 开发串口通信界面

香小蕉 31 0 0

精彩评论(0)

0 0 举报