8b98b8c836
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
EntryPointMinGW32Target.cmake.in | ||
qtentrypoint_win.cpp |