qt_no_standard_project_setup

その後の qt_standard_project_setup() のコールによる変更を防ぎます。

この変数は Qt 6.3 で導入されました。

qt_standard_project_setup()コマンドは通常、プロジェクトのトップレベルCMakeLists.txt 。あるシナリオでは、そのようなプロジェクトはより大きなプロジェクト階層の子プロジェクトとして吸収されるかもしれません。親プロジェクトは、子プロジェクトがセットアップに変更を加えられないようにすることができます。親プロジェクトは、add_subdirectory()FetchContent_MakeAvailable() など、CMake が提供する同様のメソッドを使用して子プロジェクトを取り込む前に、QT_NO_STANDARD_PROJECT_SETUPTRUE に設定することで、これを実現できます。

qt_standard_project_setup()も参照してください

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