From 6e7c416391889461f035219ad1b80cb8c4617bbc Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Tue, 8 Sep 2020 20:34:31 +0200 Subject: 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 (cherry picked from commit 1618727da41a2806d481854d3b80e503e4f18546) Reviewed-by: Qt Cherry-pick Bot --- src/sql/doc/src/sql-driver.qdoc | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- cgit v1.2.1