summaryrefslogtreecommitdiffstats
path: root/src/entrypoint
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-10-20 16:42:10 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-10-20 17:12:44 +0200
commit4ad464461f285af3fb2845eb27b1a20fc0b09b08 (patch)
treedad890ccac6258cfa2febb02df40c0488b3266de /src/entrypoint
parent0948846b42e0009ed2c9211c6995ce228db07032 (diff)
Fix linking of non-console application on mingw
As a result of b5af1408099d the link dependency to the mingw32 static library was ordered after the entrypoint library, which resulted in the WinMain symbol not being found during linking due to how the static linker processes archives. Fixes: QTBUG-87725 Change-Id: I8e075f91f7f06dcdc618a4e0ae6d9c1d832888c0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/entrypoint')
-rw-r--r--src/entrypoint/entrypoint.pro1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/entrypoint/entrypoint.pro b/src/entrypoint/entrypoint.pro
index dd0618cd56..9dc8de57d4 100644
--- a/src/entrypoint/entrypoint.pro
+++ b/src/entrypoint/entrypoint.pro
@@ -23,7 +23,6 @@ win32 {
mingw {
DEFINES += QT_NEEDS_QMAIN
MODULE_DEFINES += QT_NEEDS_QMAIN
- LIBS += -lmingw32
}
}