From 92fe63114ba50d68709680bdc89d93633dc3ed92 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 4 Nov 2024 13:01:41 +0900 Subject: rename qmake to tqmake Signed-off-by: Michele Calgaro --- doc/html/sql-driver.html | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'doc/html/sql-driver.html') diff --git a/doc/html/sql-driver.html b/doc/html/sql-driver.html index 41bb1c06a..955c89e83 100644 --- a/doc/html/sql-driver.html +++ b/doc/html/sql-driver.html @@ -130,12 +130,12 @@ transactions are enabled by default.

You need the MySQL header files and as well as the shared library libmysqlclient.so. Depending on your Linux distribution you need to install a package which is usually called "mysql-devel". -

Tell qmake where to find the MySQL +

Tell tqmake where to find the MySQL header files and shared libraries (here it is assumed that MySQL is installed in /usr/local) and run make:

 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
 
@@ -147,7 +147,7 @@ Build the plugin as follows (here it is assumed that MySQL is installed in C:\MYSQL):

 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
 
@@ -189,27 +189,27 @@ Client install.
  • libclntsh.so (all versions)
  • libwtc8.so (only Oracle 8) or libwtc9.so (only Oracle 9) -

    Tell qmake where to find the Oracle header files and shared +

    Tell tqmake where to find the Oracle header files and shared libraries (it is assumed that the variable $ORACLE_HOME points to the directory where Oracle is installed) and run make:

    If you are using Oracle 8:

     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
     

    For Oracle version 9:

     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
     

    For Oracle version 10:

     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
     
    @@ -230,7 +230,7 @@ installed in 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 @@ -283,12 +283,12 @@ will convert all Unicode strings to local 8 bit.

    It is recommended that you use unixODBC. You can find the latest version and ODBC drivers at http://www.unixodbc.org. You need the unixODBC header files and shared libraries. -

    Tell qmake where to find the unixODBC header files and shared +

    Tell tqmake where to find the unixODBC header files and shared libraries (here it is assumed that unixODBC is installed in /usr/local/unixODBC) and run make:

     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
     
    @@ -298,7 +298,7 @@ make right directories. You just have to build the plugin as follows:

     cd %TQTDIR%\plugins\src\sqldrivers\odbc
    -qmake -o Makefile odbc.pro
    +tqmake -o Makefile odbc.pro
     nmake
     
    @@ -347,12 +347,12 @@ distribution and run the configure script. If you've already installed a binary distribution you don't need to build it. The source distribution is needed because the TQPSQL7 plugin relies on a couple of header files that are usually not a part of the binary distribution. -

    To make qmake find the PostgreSQL header files and shared -libraries, run qmake the following way (assuming that the +

    To make tqmake find the PostgreSQL header files and shared +libraries, run tqmake the following way (assuming that the PostgreSQL sources can be found in /usr/src/psql):

     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
     
    @@ -363,7 +363,7 @@ the PostgreSQL documentation. Assuming the PostgreSQL sources resides in C:\psql, build the plugin as follows:

     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
     
    @@ -388,10 +388,10 @@ Note for Linux users: Get the Open Client RPM from

    Regardless of which library you use, the shared object file libsybdb.so is needed. Set the SYBASE environment variable to point to the directory where you installed the client library and -execute qmake: +execute tqmake:

     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
     
    @@ -401,7 +401,7 @@ make Open Client (http://www.sybase.com). You must include NTWDBLIB.LIB to build the plugin:

     cd %TQTDIR%\plugins\src\sqldrivers\tds
    -qmake -o Makefile "LIBS+=NTWDBLIB.LIB" tds.pro
    +tqmake -o Makefile "LIBS+=NTWDBLIB.LIB" tds.pro
     nmake
     
    @@ -426,7 +426,7 @@ in DB2 (see TQSqlQuery::setForwardOnly<

     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
     
    @@ -436,7 +436,7 @@ make right directories. You just have to build the plugin as follows:

     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
     
    @@ -468,7 +468,7 @@ build it manually (replace $SQLITE by the directory where SQLite resides):

     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
     
    @@ -501,7 +501,7 @@ or the free edition of Interbase. /opt/interbase:

     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
     
    @@ -511,7 +511,7 @@ make C:\interbase:

     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
     
    -- cgit v1.2.3