minGw64编译Qt时遇到too many sections问题
程序员文章站
2022-05-30 09:26:11
minGw64编译Qt时遇到too many sections问题: 修改\Src\qtbase\mkspecs\win32-g++\qmake.conf中 QMAKE_CFLAGS = -pipe -fno-keep-inline-dllexport 添加-Wa,-mbig-obj QMAKE_C ......
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