MINGW-packages/mingw-w64-qt5-static/0035-qt-5.3.2-dont-add-resource-files-to-qmake-libs.patch
Raed Rizqie 45cd411474 qt5-static: update to 5.15.14
- simplified PKGBUILD recipe
- build in silent mode
- make sure we link with static zlib and zstd
- fix qmltyperegistrar 'Cannot open foreign types file' error
- fix race condition when building qtactiveqt tools
- fix *.pc & *.prl files further by removing full path to libs
2024-07-11 21:02:38 +08:00

15 lines
719 B
Diff

diff -Naur qt-everywhere-src-5.12.4-orig/qtbase/qmake/generators/win32/mingw_make.cpp qt-everywhere-src-5.12.4/qtbase/qmake/generators/win32/mingw_make.cpp
--- qt-everywhere-src-5.12.4-orig/qtbase/qmake/generators/win32/mingw_make.cpp 2019-06-12 23:59:14.000000000 +0300
+++ qt-everywhere-src-5.12.4/qtbase/qmake/generators/win32/mingw_make.cpp 2019-06-15 15:34:10.657701800 +0300
@@ -147,7 +147,9 @@
processVars();
- project->values("LIBS") += project->values("RES_FILE");
+ if (project->isActiveConfig("shared") || project->first("TEMPLATE") == "app") {
+ project->values("LIBS") += project->values("RES_FILE");
+ }
if (project->isActiveConfig("dll")) {
QString destDir = "";