summaryrefslogtreecommitdiffstats
path: root/doc/sql-driver.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sql-driver.doc')
-rw-r--r--doc/sql-driver.doc46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/sql-driver.doc b/doc/sql-driver.doc
index d64246d22..8bd40cf26 100644
--- a/doc/sql-driver.doc
+++ b/doc/sql-driver.doc
@@ -154,13 +154,13 @@ You need the MySQL header files and as well as the shared library
\c{libmysqlclient.so}. Depending on your Linux distribution you need to
install a package which is usually called "mysql-devel".
-Tell \link qmake-manual.book qmake\endlink where to find the MySQL
+Tell \link tqmake-manual.book tqmake\endlink where to find the MySQL
header files and shared libraries (here it is assumed that MySQL is
installed in \c{/usr/local}) and run \c{make}:
\code
cd $TQTDIR/plugins/src/sqldrivers/mysql
-qmake -o Makefile "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib -lmysqlclient" mysql.pro
+tqmake -o Makefile "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib -lmysqlclient" mysql.pro
make
\endcode
@@ -173,7 +173,7 @@ installed in \c{C:\MYSQL}):
\code
cd %TQTDIR%\plugins\src\sqldrivers\mysql
-qmake -o Makefile "INCLUDEPATH+=C:\MYSQL\INCLUDE" "LIBS+=C:\MYSQL\LIB\OPT\LIBMYSQL.LIB" mysql.pro
+tqmake -o Makefile "INCLUDEPATH+=C:\MYSQL\INCLUDE" "LIBS+=C:\MYSQL\LIB\OPT\LIBMYSQL.LIB" mysql.pro
nmake
\endcode
@@ -227,28 +227,28 @@ Oracle library files required to build driver:
\i \c libwtc8.so (only Oracle 8) or \c libwtc9.so (only Oracle 9)
\endlist
-Tell \c qmake where to find the Oracle header files and shared
+Tell \c tqmake where to find the Oracle header files and shared
libraries (it is assumed that the variable \c $ORACLE_HOME points to
the directory where Oracle is installed) and run make:
If you are using Oracle 8:
\code
cd $TQTDIR/plugins/src/sqldrivers/oci
-qmake -o Makefile "INCLUDEPATH+=$ORACLE_HOME/rdbms/public $ORACLE_HOME/rdbms/demo" "LIBS+=-L$ORACLE_HOME/lib -lclntsh -lwtc8" oci.pro
+tqmake -o Makefile "INCLUDEPATH+=$ORACLE_HOME/rdbms/public $ORACLE_HOME/rdbms/demo" "LIBS+=-L$ORACLE_HOME/lib -lclntsh -lwtc8" oci.pro
make
\endcode
For Oracle version 9:
\code
cd $TQTDIR/plugins/src/sqldrivers/oci
-qmake -o Makefile "INCLUDEPATH+=$ORACLE_HOME/rdbms/public $ORACLE_HOME/rdbms/demo" "LIBS+=-L$ORACLE_HOME/lib -lclntsh -lwtc9" oci.pro
+tqmake -o Makefile "INCLUDEPATH+=$ORACLE_HOME/rdbms/public $ORACLE_HOME/rdbms/demo" "LIBS+=-L$ORACLE_HOME/lib -lclntsh -lwtc9" oci.pro
make
\endcode
For Oracle version 10:
\code
cd $TQTDIR/plugins/src/sqldrivers/oci
-qmake -o Makefile "INCLUDEPATH+=$ORACLE_HOME/rdbms/public $ORACLE_HOME/rdbms/demo" "LIBS+=-L$ORACLE_HOME/lib -lclntsh" oci.pro
+tqmake -o Makefile "INCLUDEPATH+=$ORACLE_HOME/rdbms/public $ORACLE_HOME/rdbms/demo" "LIBS+=-L$ORACLE_HOME/lib -lclntsh" oci.pro
make
\endcode
@@ -272,7 +272,7 @@ installed in \c{C:\oracle}):
set INCLUDE=%INCLUDE%;c:\oracle\oci\include
set LIB=%LIB%;c:\oracle\oci\lib\msvc
cd %TQTDIR%\plugins\src\sqldrivers\oci
-qmake -o Makefile oci.pro
+tqmake -o Makefile oci.pro
nmake
\endcode
@@ -338,13 +338,13 @@ It is recommended that you use unixODBC. You can find the latest
version and ODBC drivers at \l http://www.unixodbc.org.
You need the unixODBC header files and shared libraries.
-Tell \c qmake where to find the unixODBC header files and shared
+Tell \c tqmake where to find the unixODBC header files and shared
libraries (here it is assumed that unixODBC is installed in
\c{/usr/local/unixODBC}) and run \c{make}:
\code
cd $TQTDIR/plugins/src/sqldrivers/odbc
-qmake "INCLUDEPATH+=/usr/local/unixODBC/include" "LIBS+=-L/usr/local/unixODBC/lib -lodbc"
+tqmake "INCLUDEPATH+=/usr/local/unixODBC/include" "LIBS+=-L/usr/local/unixODBC/lib -lodbc"
make
\endcode
@@ -355,7 +355,7 @@ right directories. You just have to build the plugin as follows:
\code
cd %TQTDIR%\plugins\src\sqldrivers\odbc
-qmake -o Makefile odbc.pro
+tqmake -o Makefile odbc.pro
nmake
\endcode
@@ -415,13 +415,13 @@ a binary distribution you don't need to build it. The source
distribution is needed because the QPSQL7 plugin relies on a couple of
header files that are usually not a part of the binary distribution.
-To make \c qmake find the PostgreSQL header files and shared
-libraries, run \c qmake the following way (assuming that the
+To make \c tqmake find the PostgreSQL header files and shared
+libraries, run \c tqmake the following way (assuming that the
PostgreSQL sources can be found in \c{/usr/src/psql}):
\code
cd $TQTDIR/plugins/src/sqldrivers/psql
-qmake -o Makefile "INCLUDEPATH+=/usr/src/psql/src/include /usr/src/psql/src/interfaces/libpq" "LIBS+=-L/usr/lib -lpq" psql.pro
+tqmake -o Makefile "INCLUDEPATH+=/usr/src/psql/src/include /usr/src/psql/src/interfaces/libpq" "LIBS+=-L/usr/lib -lpq" psql.pro
make
\endcode
@@ -433,7 +433,7 @@ in \c{C:\psql}, build the plugin as follows:
\code
cd %TQTDIR%\plugins\src\sqldrivers\psql
-qmake -o Makefile "INCLUDEPATH+=C:\psql\src\include C:\psql\src\interfaces\libpq" psql.pro
+tqmake -o Makefile "INCLUDEPATH+=C:\psql\src\include C:\psql\src\interfaces\libpq" psql.pro
nmake
\endcode
@@ -463,11 +463,11 @@ Under Unix, two libraries are available which support the TDS protocol:
Regardless of which library you use, the shared object file
\c{libsybdb.so} is needed. Set the SYBASE environment variable to
point to the directory where you installed the client library and
-execute \c{qmake}:
+execute \c{tqmake}:
\code
cd $TQTDIR/plugins/src/sqldrivers/tds
-qmake -o Makefile "INCLUDEPATH=$SYBASE/include" "LIBS=-L$SYBASE/lib -lsybdb"
+tqmake -o Makefile "INCLUDEPATH=$SYBASE/include" "LIBS=-L$SYBASE/lib -lsybdb"
make
\endcode
@@ -479,7 +479,7 @@ NTWDBLIB.LIB to build the plugin:
\code
cd %TQTDIR%\plugins\src\sqldrivers\tds
-qmake -o Makefile "LIBS+=NTWDBLIB.LIB" tds.pro
+tqmake -o Makefile "LIBS+=NTWDBLIB.LIB" tds.pro
nmake
\endcode
@@ -509,7 +509,7 @@ in DB2 (see TQSqlQuery::setForwardOnly()).
\code
cd $TQTDIR/plugins/src/sqldrivers/db2
-qmake -o Makefile "INCLUDEPATH+=$DB2DIR/include" "LIBS+=-L$DB2DIR/lib -ldb2"
+tqmake -o Makefile "INCLUDEPATH+=$DB2DIR/include" "LIBS+=-L$DB2DIR/lib -ldb2"
make
\endcode
@@ -520,7 +520,7 @@ right directories. You just have to build the plugin as follows:
\code
cd %TQTDIR%\plugins\src\sqldrivers\db2
-qmake -o Makefile "INCLUDEPATH+=<DB2 home>/sqllib/include" "LIBS+=<DB2 home>/sqllib/lib/db2cli.lib"
+tqmake -o Makefile "INCLUDEPATH+=<DB2 home>/sqllib/include" "LIBS+=<DB2 home>/sqllib/lib/db2cli.lib"
nmake
\endcode
@@ -560,7 +560,7 @@ resides):
\code
cd $TQTDIR/plugins/src/sqldrivers/sqlite
-qmake -o Makefile "INCLUDEPATH+=$SQLITE/include" "LIBS+=-L$SQLITE/lib -lsqlite"
+tqmake -o Makefile "INCLUDEPATH+=$SQLITE/include" "LIBS+=-L$SQLITE/lib -lsqlite"
make
\endcode
@@ -599,7 +599,7 @@ The following assumes Interbase or Firebird is installed in
\code
cd $TQTDIR/plugins/src/sqldrivers/ibase
-qmake -o Makefile "INCLUDEPATH+=/opt/interbase/include" "LIBS+=-L/opt/interbase/lib" ibase.pro
+tqmake -o Makefile "INCLUDEPATH+=/opt/interbase/include" "LIBS+=-L/opt/interbase/lib" ibase.pro
make
\endcode
@@ -610,7 +610,7 @@ The following assumes Interbase or Firebird is installed in
\code
cd %TQTDIR%\plugins\src\sqldrivers\ibase
-qmake -o Makefile "INCLUDEPATH+=C:\interbase\include" ibase.pro
+tqmake -o Makefile "INCLUDEPATH+=C:\interbase\include" ibase.pro
nmake
\endcode