minGw64编译Qt时遇到too many sections问题:

修改\Src\qtbase\mkspecs\win32-g++\qmake.conf中

QMAKE_CFLAGS            = -pipe -fno-keep-inline-dllexport

添加-Wa,-mbig-obj

QMAKE_CFLAGS            = -pipe -fno-keep-inline-dllexport -Wa,-mbig-obj

05-27 22:36