summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/entrypoint.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/entrypoint.prf')
-rw-r--r--mkspecs/features/entrypoint.prf11
1 files changed, 1 insertions, 10 deletions
diff --git a/mkspecs/features/entrypoint.prf b/mkspecs/features/entrypoint.prf
index 48bb378034..fbe637326e 100644
--- a/mkspecs/features/entrypoint.prf
+++ b/mkspecs/features/entrypoint.prf
@@ -1,11 +1,2 @@
-qt:!console:contains(TEMPLATE, ".*app") {
- # This library needs to come before the entry-point library in the
- # linker line, so that the static linker will pick up the WinMain
- # symbol from the entry-point library. Unfortunately qmake and the
- # module system doesn't allow specifying linker flags or dependencies
- # as part of the module that end up _before_ the library itself, so
- # we have to work around it by declaring the dependency here.
- mingw: LIBS += -lmingw32
-
+qt:!console:contains(TEMPLATE, ".*app"): \
QT_PRIVATE += entrypoint_private
-}