summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2013-09-12 23:18:26 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-14 15:42:24 +0200
commitf6e6dde369be8428b074c7135096b73248bdc8ae (patch)
tree6bd2803dbf82973f0e37e7aa4abdf541dca265ee /mkspecs
parent384ca58e33eb1406243b7fece57ff01bd9675779 (diff)
winmain for winrt
WinRT passes the executable and Appx server info to the CRT main, and supports several additional activation arguments as well. This handles the arguments passed to main as well as the case where a modern app is launched from an external application (e.g. Qt Creator). Task-number: QTBUG-30198 Change-Id: Ia843e98c7843d5705f5f6d1c809de0b6bcdb5d26 Done-with: Kamil Trzcinski Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/common/winrt_winphone/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/common/winrt_winphone/qmake.conf b/mkspecs/common/winrt_winphone/qmake.conf
index f135ce4229..a1bf19d3aa 100644
--- a/mkspecs/common/winrt_winphone/qmake.conf
+++ b/mkspecs/common/winrt_winphone/qmake.conf
@@ -79,7 +79,7 @@ QMAKE_LIBS_CORE =
QMAKE_LIBS_GUI = d3d11.lib
QMAKE_LIBS_NETWORK =
-QMAKE_LIBS_QT_ENTRY = -lqtmain
+QMAKE_LIBS_QT_ENTRY = -lqtmain /ENTRY:wmainCRTStartup
QMAKE_IDL = midl
QMAKE_LIB = lib /NOLOGO