From 1618727da41a2806d481854d3b80e503e4f18546 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Tue, 8 Sep 2020 20:34:31 +0200 Subject: [PATCH] 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 Pick-to: 5.15 Reviewed-by: Paul Wicking --- 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 c29a74a8a6..e6b7c1fbf2 100644 --- a/src/sql/doc/src/sql-driver.qdoc +++ b/src/sql/doc/src/sql-driver.qdoc @@ -77,6 +77,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 @@ -101,9 +103,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.