qt5base-lts/src/winmain
Joerg Bornemann e7d12b876a Fix qmake builds of Windows applications against a CMake-built Qt
QMake's windows.prf expects the WinMain library to be named
'qtmain[d].lib' and not 'Qt6WinMain[d].lib'. We're renaming the
library to 'qtmain[d].lib' in the CMake build now to avoid adjusting
the qmake build of Qt.

Also, we have to add the private library shell32.lib to WinMain to
make it appear in qtmain.prl and having it linked to Windows GUI
applications.

Fixes: QTBUG-84425
Change-Id: Ia94090b89e037b17ebfded359b293c8586371d59
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-05-27 21:44:39 +02:00
..
.prev_CMakeLists.txt CMake: Add WinMain support 2019-06-05 14:06:09 +00:00
CMakeLists.txt Fix qmake builds of Windows applications against a CMake-built Qt 2020-05-27 21:44:39 +02:00
qtmain_win.cpp qtmain_win.cpp: Remove unused header files 2019-02-04 01:58:42 +00:00
qtmain_winrt.cpp qtmain_winrt: Avoid nullptrs in str*cmp which cause crashes 2019-05-17 09:26:33 +00:00
winmain.pro Migrate Windows system libs to external dependencies 2019-05-08 08:30:02 +00:00