May you help me? thanks! About Qt 5
Hello, My Qt Creater encountered this problem at compile time, could you tell me how to solve?
您好，我的Qt Creater 在编译时遇到了这个问题，请问应该怎么解决
_cc1plus.exe:-1: 错误:error: unrecognized command line option "-fno-keep-inline-dllexport"_
Thank you very much!
Qt 5 requires at least GCC 4.6, "see also":http://qt-project.org/wiki/MinGW.
Sorry! I did not understand your meaning ,My GCC version is GCC 4.7.2,
Any GCC >= 4.6 should support -fno-keep-inline-dllexport; maybe your installation doesn't (for whatever reason). Try the suggested installation from mingw-builds.
As a last resort you can remove the option from mkspecs/win32-g++/qmake.conf.
You have a GCC 4.7.2 installed, but that does not mean it is the only GCC available on your system, or that it is the one being used. What version of GCC is being used to compile your project?