W3cubDocs

/Qt

qt_no_entrypoint

Specifies to inhibit linking against Qt's entrypoint lib.

Note: This property is in technology preview and may change in future releases.

On certain platforms, Qt applications link against Qt's entrypoint lib by default. That library provides implementations of main (or WinMain).

On targets that must provide their own entry point, set the property qt_no_entrypoint to inhibit linking against Qt's entrypoint library.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/cmake-target-property-qt-no-entrypoint.html