summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-24 10:06:14 +0000
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2023-04-25 15:03:03 +0200
commit4fc3f0c159dac617e9e32367127332de19a84026 (patch)
tree4b25ff90444f976e998ac12138e3da0ab84f73b3 /src/corelib/doc/src/includes/cmake-android-qt-finalize-project-warning.qdocinc
parente1818d9e9c7e9ce6b5857054926a5f7c7f44e0d9 (diff)
Doc: Exclude licensing header when including a .qdocinc
The \include command includes the source in its entirety when the second parameter is omitted. This pulled in also the license header which was visible in the generated documentation. Add snippet tags and use them to extract only the content we need. Pick-to: 6.5 Fixes: QTBUG-113138 Change-Id: Ie3fe2fede1e81d08201ec4353352ef069aebc388 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@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.qdocinc2
1 files changed, 2 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
index 3f2a4ab6ec..47133f6d10 100644
--- 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
@@ -1,6 +1,8 @@
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+//! [warning]
\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.
+//! [warning]