Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0
-
None
-
-
baff03d3d4f02a19b6b9a0070a5b8196b4df101d (qt/qtbase/dev)
Description
We have our own `WinMain` method that needs to be called instead of Qt `WinMain`. With Qt 5, this could be configured using cmake target property `QT5_NO_LINK_QTMAIN`. With Qt6 I can not find support for this flag. But I can also not see any replacement. I've seen that there is a library `Qt6EntryPoint` that seems to define `WinMain`. But in the cmake configuration files there is nothing I could see that would enable/disable `Qt6EntryPoint`.
Is there a way to configure linking `WinMain`?
May be related to