Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.0.0
-
None
-
Windows 10 / msvc 19.23
-
-
ae89f19384c526d4285ab92b1b7382cc90949767 (qt/qttools/dev) cd1c8a0ae057ecf6f77e7e3d61713aa79c54b139 (qt/qttools/6.0)
Description
windeployqt fails to link when a custom qt namespace was specified using "-qtnamespace MyNamespace" (configure.bat):
MSVCRT.lib(exe_main.obj) : error LNK2019: unresolved external symbol main referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ) Hint on symbols that are defined and could potentially match: "int __cdecl MyNamespace::main(int,char * *)" (?main@MyNamespace@@YAHHPEAPEAD@Z)
Attachments
Issue Links
- is duplicated by
-
QTBUG-90240 windeplyqt build fails with link error
- Closed