Doc: Clarify need to qt_add_standard_project_setup early

Pick-to: 6.9 6.8
Fixes: QTBUG-115050
Change-Id: If8b3aabd0072bfb2bef6dea106af06524f144990
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Ulf Hermann 2025-02-17 16:07:35 +01:00
parent f18f50a8be
commit 8f5c6434e8

View File

@ -32,7 +32,8 @@ qt_standard_project_setup(
This command simplifies the task of setting up a typical Qt application.
It would usually be called immediately after the first \c{find_package(Qt6)}
call, normally in the top level \c{CMakeLists.txt} file and before any targets
have been defined. It does the following things:
have been defined. If you call it later, it does not apply to any targets
defined before, with possibly confusing results. It does the following things:
\list
\li The standard CMake variables \c{CMAKE_AUTOMOC} and \c{CMAKE_AUTOUIC}