[Interest] unresolved WinMain on porting to Qt 6
Jörg Bornemann
joerg.bornemann at qt.io
Mon Jul 3 12:40:18 CEST 2023
On 6/26/23 08:57, Axel Spoerl via Interest wrote:
> 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
However, linking to QtEntryPoint should be triggered automatically, and
it is for Qt's own examples. It would be interesting to know how
Hamish's project looks like. Could you create a reproducer for this,
please and report at bugreports.qt.io?
--
Jörg Bornemann | The Qt Company
More information about the Interest
mailing list