From dd2942d157d578c2135d9b0061256bd3ed3e4b93 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Wed, 20 Mar 2024 10:16:42 +0100 Subject: [PATCH] Doc: Improve "Manage files in CMake projects" Change-Id: I2fa40b005f534bc71789d4fd834307c7dca1b867 Reviewed-by: Leena Miettinen --- doc/qtcreator/src/cmake/creator-projects-cmake.qdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc b/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc index 1910f0f62dd..6c4b7d8ef09 100644 --- a/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc +++ b/doc/qtcreator/src/cmake/creator-projects-cmake.qdoc @@ -310,13 +310,13 @@ \title Manage files in CMake projects - When you use project wizard templates to \l{Create files}{add files} to + When you \l{Create files}{add new or existing files} to a project, \QC automatically adds them to the \l {qt_add_executable}, \l{CMake: add_executable command}{add_executable}, or \l {qt_add_library} function in the CMakeLists.txt file. - If you use custom API, \QC uses the \l{CMake: target_sources command} - {target_sources} function to add the files. + If \QC cannot recognize where the target is created, it will use the + \l{CMake: target_sources command} {target_sources} function to add the files. For Qt Quick projects, the files are added to the \l {qt_add_qml_module} function, prefixed with the \c QML_FILES, \c SOURCES, or \c RESOURCES