From 3fc3f11064159ee2416902bf04cd2bd1e9237fad Mon Sep 17 00:00:00 2001 From: Andreas Eliasson Date: Wed, 21 Dec 2022 13:47:06 +0100 Subject: Doc: Revise Qt Serial Port module landing page For consistency, make the module landing page follow the same structure as seen in most other modules. Change-Id: I2e870890b520483e17e88202cd86f0c5e3f6ad75 Reviewed-by: Leena Miettinen (cherry picked from commit 35bfd24ebf0e479de005f0ad5466e649f592905a) Reviewed-by: Qt Cherry-pick Bot --- src/serialport/doc/src/index.qdoc | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/src/serialport/doc/src/index.qdoc b/src/serialport/doc/src/index.qdoc index bc9ff809..d91f25c4 100644 --- a/src/serialport/doc/src/index.qdoc +++ b/src/serialport/doc/src/index.qdoc @@ -7,9 +7,9 @@ \title Qt Serial Port \brief Provides an API to make serial programming simple and portable. - Qt Serial Port provides the basic functionality, which includes - configuring, I/O operations, getting and setting the control signals of the - RS-232 pinouts. + Qt Serial Port provides basic functionality for configuration, I/O + operations, and getting and setting the control signals of the RS-232 + pinouts. The following items are not supported by this module: \list @@ -19,27 +19,17 @@ \li Pinout signal change notification. \endlist - To use the serial port in your application, add the following include - statement: + \section1 Using the Module - \code - #include - \endcode + \include {module-use.qdocinc} {using the c++ api} - For information about available serial ports, use the following include - statement: + \section2 Building with Cmake - \code - #include - \endcode + \include {module-use.qdocinc} {building with cmake} {SerialPort} - To use the module with cmake, use the \c{find_package()} command to locate - the needed module components in the \c{Qt6} package: - \include qtserialport-module-use.qdocinc cmakebuild + \section2 Building with qmake - To use the module for building with qmake, add the module as a value of the - \c QT variable in the project's .pro file: - \include qtserialport-module-use.qdocinc qmakebuild + \include {module-use.qdocinc} {building_with_qmake} {serialport} \section1 Module Evolution \l{Changes to Qt SerialPort} lists important changes in the module API -- cgit v1.2.3