diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-09-08 20:34:31 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-09-12 14:51:58 +0200 |
commit | 1618727da41a2806d481854d3b80e503e4f18546 (patch) | |
tree | 0fa98769dc9ba34b6aa4c6c7ec6cb2baff3f71d9 /src/sql | |
parent | 1abea5f5f13b4b8ec2a1c282e643b791cea12f30 (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
Pick-to: 5.15
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/doc/src/sql-driver.qdoc | 8 |
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 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. |