QT_NO_ENTRYPOINT

Specifies to inhibit linking against Qt's entrypoint lib.

This property was introduced in Qt 6.1.

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.

Note: Until Qt 6.12.0, this property was named qt_no_entrypoint. The old name is still recognized for backward compatibility.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.