QT_NO_ENTRYPOINT

Qtのエントリポイントライブラリとのリンクを無効にするよう指定します。

このプロパティは Qt 6.1 で導入されました。

特定のプラットフォームでは、QtアプリケーションはデフォルトでQtのエントリポイントライブラリに対してリンクされます。このライブラリは、main(またはWinMain)の実装を提供します。

独自のエントリポイントを提供する必要があるターゲットでは、プロパティQT_NO_ENTRYPOINT を設定して、Qtのエントリポイントライブラリへのリンクを無効にしてください。

注: Qt 6.12.0までは 、このプロパティは `qt_no_entrypoint` という名前でした。下位互換性のため、旧名称も引き続き認識されます。

© 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.