aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src/includes/cmake-qml-qt-finalize-target-warning.qdocinc
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/doc/src/includes/cmake-qml-qt-finalize-target-warning.qdocinc')
-rw-r--r--src/qml/doc/src/includes/cmake-qml-qt-finalize-target-warning.qdocinc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qml/doc/src/includes/cmake-qml-qt-finalize-target-warning.qdocinc b/src/qml/doc/src/includes/cmake-qml-qt-finalize-target-warning.qdocinc
new file mode 100644
index 0000000000..0125a1c4c2
--- /dev/null
+++ b/src/qml/doc/src/includes/cmake-qml-qt-finalize-target-warning.qdocinc
@@ -0,0 +1,9 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+
+//! [warning]
+\warning If you are using a CMake version lower than 3.19, make sure that you
+pass the \c MANUAL_FINALIZATION option to
+\l{qt_add_executable}{qt6_add_executable()}, and then call
+\l{qt_finalize_target}{qt6_finalize_target()} before calling this function.
+//! [warning]