summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-driver.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/sql-driver.html')
-rw-r--r--doc/html/sql-driver.html46
1 files changed, 23 insertions, 23 deletions
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.
<a name="3-1-2"></a><p> You need the MySQL header files and as well as the shared library
<tt>libmysqlclient.so</tt>. Depending on your Linux distribution you need to
install a package which is usually called "mysql-devel".
-<p> Tell <a href="qmake-manual.html">qmake</a> where to find the MySQL
+<p> Tell <a href="tqmake-manual.html">tqmake</a> where to find the MySQL
header files and shared libraries (here it is assumed that MySQL is
installed in <tt>/usr/local</tt>) and run <tt>make</tt>:
<p> <pre>
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
</pre>
@@ -147,7 +147,7 @@ Build the plugin as follows (here it is assumed that MySQL is
installed in <tt>C:&#92;MYSQL</tt>):
<p> <pre>
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
</pre>
@@ -189,27 +189,27 @@ Client install.
<li> <tt>libclntsh.so</tt> (all versions)
<li> <tt>libwtc8.so</tt> (only Oracle 8) or <tt>libwtc9.so</tt> (only Oracle 9)
</ul>
-<p> Tell <tt>qmake</tt> where to find the Oracle header files and shared
+<p> Tell <tt>tqmake</tt> where to find the Oracle header files and shared
libraries (it is assumed that the variable <tt>$ORACLE_HOME</tt> points to
the directory where Oracle is installed) and run make:
<p> If you are using Oracle 8:
<pre>
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
</pre>
<p> For Oracle version 9:
<pre>
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
</pre>
<p> For Oracle version 10:
<pre>
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
</pre>
@@ -230,7 +230,7 @@ installed in <tt>C:&#92;oracle</tt>):
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
</pre>
@@ -283,12 +283,12 @@ will convert all Unicode strings to local 8 bit.
<a name="3-3-3"></a><p> It is recommended that you use unixODBC. You can find the latest
version and ODBC drivers at <a href="http://www.unixodbc.org">http://www.unixodbc.org</a>.
You need the unixODBC header files and shared libraries.
-<p> Tell <tt>qmake</tt> where to find the unixODBC header files and shared
+<p> Tell <tt>tqmake</tt> where to find the unixODBC header files and shared
libraries (here it is assumed that unixODBC is installed in
<tt>/usr/local/unixODBC</tt>) and run <tt>make</tt>:
<p> <pre>
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
</pre>
@@ -298,7 +298,7 @@ make
right directories. You just have to build the plugin as follows:
<p> <pre>
cd %TQTDIR%\plugins\src\sqldrivers\odbc
-qmake -o Makefile odbc.pro
+tqmake -o Makefile odbc.pro
nmake
</pre>
@@ -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.
-<p> To make <tt>qmake</tt> find the PostgreSQL header files and shared
-libraries, run <tt>qmake</tt> the following way (assuming that the
+<p> To make <tt>tqmake</tt> find the PostgreSQL header files and shared
+libraries, run <tt>tqmake</tt> the following way (assuming that the
PostgreSQL sources can be found in <tt>/usr/src/psql</tt>):
<p> <pre>
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
</pre>
@@ -363,7 +363,7 @@ the PostgreSQL documentation. Assuming the PostgreSQL sources resides
in <tt>C:&#92;psql</tt>, build the plugin as follows:
<p> <pre>
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
</pre>
@@ -388,10 +388,10 @@ Note for Linux users: Get the Open Client RPM from
<p> Regardless of which library you use, the shared object file
<tt>libsybdb.so</tt> is needed. Set the SYBASE environment variable to
point to the directory where you installed the client library and
-execute <tt>qmake</tt>:
+execute <tt>tqmake</tt>:
<p> <pre>
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
</pre>
@@ -401,7 +401,7 @@ make
Open Client (<a href="http://www.sybase.com">http://www.sybase.com</a>). You must include <tt>NTWDBLIB.LIB</tt> to build the plugin:
<p> <pre>
cd %TQTDIR%\plugins\src\sqldrivers\tds
-qmake -o Makefile "LIBS+=NTWDBLIB.LIB" tds.pro
+tqmake -o Makefile "LIBS+=NTWDBLIB.LIB" tds.pro
nmake
</pre>
@@ -426,7 +426,7 @@ in DB2 (see <a href="tqsqlquery.html#setForwardOnly">TQSqlQuery::setForwardOnly<
</h4>
<a name="3-6-2"></a><p> <pre>
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
</pre>
@@ -436,7 +436,7 @@ make
right directories. You just have to build the plugin as follows:
<p> <pre>
cd %TQTDIR%\plugins\src\sqldrivers\db2
-qmake -o Makefile "INCLUDEPATH+=&lt;DB2 home&gt;/sqllib/include" "LIBS+=&lt;DB2 home&gt;/sqllib/lib/db2cli.lib"
+tqmake -o Makefile "INCLUDEPATH+=&lt;DB2 home&gt;/sqllib/include" "LIBS+=&lt;DB2 home&gt;/sqllib/lib/db2cli.lib"
nmake
</pre>
@@ -468,7 +468,7 @@ build it manually (replace <tt>$SQLITE</tt> by the directory where SQLite
resides):
<p> <pre>
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
</pre>
@@ -501,7 +501,7 @@ or the free edition of Interbase.
<tt>/opt/interbase</tt>:
<p> <pre>
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
</pre>
@@ -511,7 +511,7 @@ make
<tt>C:&#92;interbase</tt>:
<p> <pre>
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
</pre>