• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..29-May-2018-

drivers/H29-May-2018-16,59013,515

kernel/H29-May-2018-8,4923,514

models/H29-May-2018-3,6381,826

README.moduleH A D29-May-20181.2 KiB3825

sql.proH A D29-May-2018819 3023

README.module

1Before building the Qt library, the Qt SQL module can be enabled for
2specific databases using 'configure'.  'configure' is located at the
3top of your QTDIR.
4
5Specific databases drivers can be enabled using one of the following
6options:
7
8	./configure [-qt-sql-<driver>] [-plugin-sql-<driver>]
9
10or disabled using the following option:
11
12	./configure [-no-sql-<driver>]
13
14Where <driver> is the name of the driver, for example 'psql'.  This
15will configure the Qt library to compile the specified driver into
16the Qt lib itself.
17
18For example, to build the PostgreSQL driver directly into the Qt
19library, configure Qt like this:
20
21	./configure -qt-sql-psql
22
23In addition, you may need to specify an extra include path, as some
24database drivers require headers for the database they are using,
25for example:
26
27	./configure -qt-sql-psql -I/usr/local/include
28
29If instead you need to build the PostgreSQL driver as a dynamically
30loaded plugin, configure Qt like this:
31
32	./configure -plugin-sql-psql
33
34To compile drivers as dynamically loaded plugins, see the
35QTDIR/plugins/src/sqldrivers directory.  Use 'configure -help'
36for a complete list of configure options.  See the Qt documentation
37for a complete list of supported database drivers.
38