winmain for winrt
authorAndrew Knight <andrew.knight@digia.com>
Thu, 29 Aug 2013 14:24:00 +0000 (16:24 +0200)
committerOliver Wolff <oliver.wolff@digia.com>
Mon, 2 Sep 2013 11:42:00 +0000 (13:42 +0200)
commitc4698c9531e739ccf74fd54aec555a3f1ec00add
tree572b60bd5d688c2f967d4c70e5b2edf582a18db3
parent0fcd02fb33470ea960248803476ba36a7a9a0b72
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).

Finally, the current (.) directory is added to applicationLibPaths for
WinRT because the application directory is not an effective library search
path while the releative path is.

Task-number: QTBUG-30198
Change-Id: Ib4f9eddba9ac5f05d8681d756f3fc9dd41aa57b1
Done-with: Kamil Trzcinski
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
mkspecs/common/winrt_winphone/qmake.conf
src/corelib/kernel/qcoreapplication.cpp
src/winmain/qtmain_winrt.cpp [new file with mode: 0644]
src/winmain/winmain.pro