summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2020-09-08 20:34:31 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-09-12 15:49:48 +0000
commit6e7c416391889461f035219ad1b80cb8c4617bbc (patch)
treec4397c4f0c0794d7be169c2cf51f46c9bfac76ec /src/sql
parent2c5e238fd8b117fd40672622351f30e53840ab16 (diff)
QtSql: enhance documentation
Be a little bit more specific what needs to be done when compiling the sql driver without compiling the whole Qt Change-Id: I3e8010d4cc84a83108340e525e620abf6b6e89c1 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 1618727da41a2806d481854d3b80e503e4f18546) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/doc/src/sql-driver.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sql/doc/src/sql-driver.qdoc b/src/sql/doc/src/sql-driver.qdoc
index 1e0095a827..38de3f11f0 100644
--- a/src/sql/doc/src/sql-driver.qdoc
+++ b/src/sql/doc/src/sql-driver.qdoc
@@ -79,6 +79,8 @@
\target building
\section1 Building the Drivers
+ \target DriverWithQt
+ \section2 Compile Qt with a specific driver
The Qt \c configure script tries to
automatically detect the available client libraries on your
@@ -103,9 +105,15 @@
search for the available drivers again. If you encounter an error during
the qmake stage, open \e{config.log} to see what went wrong.
+ \target DriverStandalone
+ \section2 Compile only a specific sql driver
+
A typical qmake run (in this case to configure for MySQL) looks like this:
\snippet code/doc_src_sql-driver.qdoc 41
+ \note As mentioned in \l{#DriverWithQt}{Compile Qt with a specific driver},
+ take a look at \e{config.log} if the driver could not be found and
+ start over by removing \e{config.cache}.
Due to the practicalities of dealing with external dependencies,
only the SQLite3 plugin is shipped with binary builds of Qt.