qt6-bb10/src/sql
Andy Shaw a6a08095a4 Compile fix for DB2 sqldriver plugin
Change-Id: Ib91ffaa0f1f240b9d93e1756cf309a9975f09928
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2016-10-24 07:56:50 +00:00
..
doc Doc: Remove references to Windows CE in Qt SQL and Qt Namespace 2016-08-23 08:28:23 +00:00
drivers Compile fix for DB2 sqldriver plugin 2016-10-24 07:56:50 +00:00
kernel Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-13 15:18:02 +02:00
models Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00
README.module
sql.pro QtCore/QtDBus/QtSql: port the last remaining Q_FOREACH loop and add QT_NO_FOREACH 2016-05-11 16:55:37 +00:00

README.module

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.