summaryrefslogtreecommitdiffstats
path: root/src/printsupport/doc/src/qtprintsupport-index.qdoc
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-05-22 14:41:44 +0200
committerKai Koehne <kai.koehne@qt.io>2020-05-26 15:11:40 +0200
commit3c31dd0330ccdc7e72dcfdba7391379face168a1 (patch)
tree2c54dc94dabe5159de7a3f9afbe1426a3fc0749a /src/printsupport/doc/src/qtprintsupport-index.qdoc
parent292d49c5e91f9053a50f041140e8f02e9cc9c162 (diff)
Document how to use CMake for Qt PrintSupport
Move the details on how to build after the index page. Remove mentioning of the central include. Instead, mention the CMake functions to use. Task-number: QTBUG-73058 Change-Id: Ibf5952530c3b86915c9fb6562f7d9e0b010720ee Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/printsupport/doc/src/qtprintsupport-index.qdoc')
-rw-r--r--src/printsupport/doc/src/qtprintsupport-index.qdoc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/printsupport/doc/src/qtprintsupport-index.qdoc b/src/printsupport/doc/src/qtprintsupport-index.qdoc
index eeef9143db..d566f12e66 100644
--- a/src/printsupport/doc/src/qtprintsupport-index.qdoc
+++ b/src/printsupport/doc/src/qtprintsupport-index.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2018 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the documentation of the Qt Toolkit.
@@ -166,6 +166,14 @@
about the configured page dimensions in order to insert page breaks at the most
appropriate places in printed documents.
+ \include module-use.qdocinc using qt module
+ \snippet snippets/CMakeLists.txt cmake_use
+
+ See also the \l[QtDoc]{Building with CMake} overview.
+
+ \include module-use.qdocinc building with qmake
+ \snippet snippets/snippets.pro qmake_use
+
\section1 Licenses and Trademarks
The Qt Print Support module is available under commercial licenses from \l{The Qt Company}.