Details
-
User Story
-
Resolution: Done
-
P1: Critical
-
None
-
None
-
-
9298033ed6e6e67cce89243f44b7ce77018d0e62 (qt/qtbase/wip/cmake)
Description
qmake by default on Windows links in the qtmain static library to executables. This library provides the WinMain entry point for applications that use the "int main(argc, argv)" entry point.
We need to support that as well. Otherwise, without a dirty workaround, users will get undefined symbol errors on subsystem=windows executables due to a missing WinMain function.