qt5base-lts/src/sql
Mark Brand ced4d167a2 fix -system-sqlite configure option
Although configuration seemed to work and the configure summary
indicated that the system sqlite library was being used, qtsql
was actually still built from bundled sqlite sources. The problem
was that system-sqlite was not reaching the context of sqlite.pro.

Change-Id: I24676a19f0fc895111844cd0fe6c7e80f33574de
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2016-09-22 21:06:31 +00:00
..
doc Merge remote-tracking branch 'origin/5.7' into 5.8 2016-08-29 15:30:17 +02:00
kernel QtSql: Fix qmake warning about missing qsql.h 2016-07-13 07:18:21 +00:00
models QSqlRelation: mark shared-come-qt6 2016-09-17 06:47:01 +00:00
configure.json fix -system-sqlite configure option 2016-09-22 21:06:31 +00:00
configure.pri Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
README.module Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
sql.pro Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00

Before building the Qt library, the Qt SQL module can be enabled for
specific databases using 'configure'.  'configure' is located at the
top of your QTDIR.

Specific databases drivers can be enabled using one of the following
options:

	./configure [-qt-sql-<driver>] [-plugin-sql-<driver>]

or disabled using the following option:

	./configure [-no-sql-<driver>]

Where <driver> is the name of the driver, for example 'psql'.  This
will configure the Qt library to compile the specified driver into
the Qt lib itself.

For example, to build the PostgreSQL driver directly into the Qt
library, configure Qt like this:

	./configure -qt-sql-psql

In addition, you may need to specify an extra include path, as some
database drivers require headers for the database they are using,
for example:

	./configure -qt-sql-psql -I/usr/local/include

If instead you need to build the PostgreSQL driver as a dynamically
loaded plugin, configure Qt like this:

	./configure -plugin-sql-psql

To compile drivers as dynamically loaded plugins, see the
QTDIR/plugins/src/sqldrivers directory.  Use 'configure -help'
for a complete list of configure options.  See the Qt documentation
for a complete list of supported database drivers.