Re: [Interest] unresolved WinMain on porting to Qt 6

2023-06-25 Thread Axel Spoerl via Interest
Hi Hamish, as you probably guessed already, the error occurs when a project built as a windows application uses int main(int argc, char** argv) as an entry point. You can link to QtEntryPoint to fix that, see here: https://doc.qt.io/qt-6/qtentrypoint.html Cheers Axel ___

Re: [Interest] unresolved WinMain on porting to Qt 6

2023-06-25 Thread Hamish Moffatt via Interest
On 23/6/23 22:16, Henry Skoglund wrote: On 2023-06-23 07:15, Hamish Moffatt via Interest wrote: If I add the linker flag /ENTRY:mainCRTStartup then it builds. What's the correct Qt solution for this though? The fact that adding /ENTRY:mainCRTStartup helped implies that you're linking with