From 9b121e5579538477a1fc7c8250e5d7e875a58de8 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 30 Apr 2014 08:46:16 +0200 Subject: Windows: Use WinAPI CommandLineToArgvW() to create argv from command line. Split the Windows CE/Desktop Windows code paths in winmain. Use CommandLineToArgvW() to obtain argv[] for Desktop Windows. [ChangeLog][QtCore][Windows] Command line parsing on Windows now uses the WinAPI function CommandLineToArgvW() to exactly match the quoting of the command interpreter. Task-number: QTBUG-35432 Task-number: QTBUG-23687 Change-Id: I6743e73649d953497642f7717d3731a83ffda2a2 Reviewed-by: Oswald Buddenhagen Reviewed-by: Thiago Macieira --- src/winmain/winmain.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/winmain/winmain.pro') diff --git a/src/winmain/winmain.pro b/src/winmain/winmain.pro index 998200cb1e..284f2a2201 100644 --- a/src/winmain/winmain.pro +++ b/src/winmain/winmain.pro @@ -20,6 +20,8 @@ winrt { SOURCES = qtmain_winrt.cpp } else { SOURCES = qtmain_win.cpp + + !wince: LIBS += -lshell32 } load(qt_installs) -- cgit v1.2.3