centos7 Qt5.9.1 C++11编译要求

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sz76211822/article/details/80446728
error: #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.

解决方法:

QMAKE_CXXFLAGS += -std=c++11

猜你喜欢

转载自blog.csdn.net/sz76211822/article/details/80446728