summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-08-26 11:50:46 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-08-30 00:41:40 +0200
commit39cea8900b02479aca222ba1f4b4bc54a9c27f02 (patch)
treed050dd23ecef8f2a48ad34a1dfa2ffe47574782e /src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc
parent5ff637cc140abc07c4c7934fcd6a048a3d0aa66f (diff)
Doc: Fix faulty include file extension
Two qdoc files included a .cmake file that contained qdoc markup. After .cmake files got license headers, the license header showed up in the flow content of the documentation. Rename the .cmake file to .qdocinc and adjust the license header to be in line with the rest of the documentation. This amends commit 87bcb9ca6ec883afb86165a282557014c9f06e41. Change-Id: Ie9b02c75b67791c60cc8e054b52a15ffa9cf3e32 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc')
-rw-r--r--src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc b/src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc
new file mode 100644
index 0000000000..3f2a4ab6ec
--- /dev/null
+++ b/src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc
@@ -0,0 +1,6 @@
+// Copyright (C) 2020 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+
+\warning If your \e Android project is built using a CMake version lower than
+3.19, make sure that you call \l{qt_finalize_project}{qt6_finalize_project()} at
+the end of a top-level CMakeLists.txt.