qt6-bb10/src/sql
Kent Hansen 3b512ae142 Merge master into api_changes
Change-Id: I93551e4d13a1b0815b359b9415060e9089477db1
2012-03-23 14:10:58 +01:00
..
drivers Fix memory leak when sqlite3_open_v2 fails 2012-03-13 21:11:55 +01:00
kernel QtSql: make some constructors explicit 2012-03-12 08:59:08 +01:00
models QSql*Model: add SQL syntax helper 2012-03-22 16:13:21 +01:00
README.module Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
sql.pro Revert "Put the generated <module>version.h into build tree" 2012-02-01 10:48:09 +01: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.