summaryrefslogtreecommitdiffstats
path: root/src/sql/doc/src/qtsql.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/doc/src/qtsql.qdoc')
-rw-r--r--src/sql/doc/src/qtsql.qdoc79
1 files changed, 36 insertions, 43 deletions
diff --git a/src/sql/doc/src/qtsql.qdoc b/src/sql/doc/src/qtsql.qdoc
index 3769d3f7b7..78acaf1fd0 100644
--- a/src/sql/doc/src/qtsql.qdoc
+++ b/src/sql/doc/src/qtsql.qdoc
@@ -1,37 +1,13 @@
-/****************************************************************************
-**
-** Copyright (C) 2020 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\page qtsql-index.html
\title Qt SQL
\brief Provides a driver layer, SQL API layer, and a user
interface layer for SQL databases
- Qt SQL is an essential module which provides support for SQL databases. Qt
- SQL's APIs are divided into different layers:
+ The Qt SQL module provides support for SQL databases. Qt SQL's APIs are
+ divided into different layers:
\list
\li Driver layer
@@ -41,13 +17,39 @@
The \l{SQL Programming} guide contains information about development using
Qt SQL.
- \include module-use.qdocinc using qt module
- \snippet snippets/CMakeLists.txt cmake_use
+ \section1 Using the Module
- See also the \l[QtDoc]{Building with CMake} overview.
+ \include {module-use.qdocinc} {using the c++ api}
- \include module-use.qdocinc building with qmake
- \snippet snippets/snippets.pro qmake_use
+ \section2 Building with CMake
+
+ \include {module-use.qdocinc} {building with cmake} {Sql}
+
+ \section2 Building with qmake
+
+ \include {module-use.qdocinc} {building_with_qmake} {sql}
+
+ \section1 Articles and Guides
+
+ \list
+ \li \l {SQL Programming} {Qt SQL Programming Guide}
+ \endlist
+
+ \section1 Examples
+
+ \list
+ \li \l {SQL Examples}
+ \endlist
+
+ \section1 Reference
+
+ \list
+ \li \l {Qt SQL C++ Classes} {C++ Classes}
+ \endlist
+
+ \section1 Module Evolution
+ \l{Changes to Qt SQL} lists important changes in the module API
+ and functionality that were done for the Qt 6 series of Qt.
\section1 Licenses and Attributions
@@ -61,14 +63,6 @@
modules under following permissive licenses:
\generatelist{groupsbymodule attributions-qtsql}
-
- \section1 Related Information
-
- These are links to the API reference materials and related pages.
- \list
- \li \l{Qt SQL C++ Classes}{C++ Classes}
- \li \l{SQL Examples}
- \endlist
*/
/*!
@@ -80,6 +74,5 @@
\brief Provides a driver layer, SQL API layer, and a user
interface layer for SQL databases.
- See the \l{Qt SQL} page and the \l{SQL Programming} guide for further
- information about using this module in your application.
+ The \l{Qt SQL} page contains information about how to use the module.
*/