qt5base-lts/src/entrypoint
Yuhang Zhao 8b98b8c836 Win32: Add a W version entry point
Currently we have a narrow version entry point, add a wide
version entry point as well, make them share exactly the same
implementation. The linker can choose the appropriate entry point
during linking.

The linker will always try to use wWinMain as the entry point
function if the UNICODE/_UNICODE macros are passed to it and
this will cause compilation failures without a wWinMain
implementation. This patch fixes such issue, though it usually
won't happen in most cases.

Change-Id: I7bc22d5bdc1cf35514a335a280a9f18732531b25
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-10-28 12:00:01 +08:00
..
CMakeLists.txt Replace the syncqt.pl script with syncqt tool 2022-09-27 13:12:11 +02:00
EntryPointMinGW32Target.cmake.in CMake: Fix undefined reference to WinMain errors with MinGW 2021-10-28 22:15:46 +02:00
qtentrypoint_win.cpp Win32: Add a W version entry point 2022-10-28 12:00:01 +08:00