Doc: Revise Qt Test Module landing page

Most of the module landing pages now follow a certain content structure.
In this case, the reference section should be placed before the
licenses and attributions section. Also, to make the wording consistent
across all module landing pages, use the globally available word
snippets.

Pick-to: 6.4
Change-Id: I2b2164eb1b8a0eb91db0f1efea8390956d54b29e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
Andreas Eliasson 2022-06-09 11:22:04 +02:00
parent c0509ef586
commit a6df765b03

View File

@ -1,4 +1,4 @@
// Copyright (C) 2020 The Qt Company Ltd. // Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*! /*!
\page qttest-index.html \page qttest-index.html
@ -16,13 +16,17 @@
to work with the Qt version it was developed against. However, source to work with the Qt version it was developed against. However, source
compatibility is guaranteed. compatibility is guaranteed.
\include module-use.qdocinc using qt module \section1 Using the Module
\snippet snippets/CMakeLists.txt cmake_use
See also the \l {Build with CMake} overview. \include {module-use.qdocinc} {using the c++ api}
\include module-use.qdocinc building with qmake \section2 Building with CMake
\snippet snippets/code/code.pro qmake_use
\include {module-use.qdocinc} {building with cmake} {Test}
\section2 Building with qmake
\include {module-use.qdocinc} {building_with_qmake} {testlib}
\section1 Articles and Guides \section1 Articles and Guides
@ -32,6 +36,19 @@
\li \l{Qt Test Tutorial} \li \l{Qt Test Tutorial}
\endlist \endlist
\section1 Reference
\list
\li \l{Qt Test C++ Classes}
\endlist
The \l {Qt Quick Test} module enables unit testing of Qt Quick applications.
\list
\li \l{Qt Quick Test QML Types}
\li \l{Qt Quick Test C++ API}
\endlist
\section1 Module Evolution \section1 Module Evolution
\l{Changes to Qt Test} lists important changes in the module API \l{Changes to Qt Test} lists important changes in the module API
and functionality that were done for the Qt 6 series of Qt. and functionality that were done for the Qt 6 series of Qt.
@ -45,21 +62,7 @@
See \l{Qt Licensing} for further details. See \l{Qt Licensing} for further details.
Furthermore, Qt Test in Qt \QtVersion may contain third party Furthermore, Qt Test in Qt \QtVersion may contain third party
modules under following permissive licenses: modules under the following permissive licenses:
\generatelist{groupsbymodule attributions-qttestlib} \generatelist{groupsbymodule attributions-qttestlib}
\section1 Reference
\list
\li \l{Qt Test C++ Classes}
\endlist
The \l {Qt Quick Test} module enables unit testing Qt Quick applications.
\list
\li \l{Qt Quick Test QML Types}
\li \l{Qt Quick Test C++ API}
\endlist
*/ */