summaryrefslogtreecommitdiffstats
path: root/src/sql/doc
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2014-01-21 15:33:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-25 21:34:01 +0100
commitc071b165a35e56c1f070813212ef8ff899732da5 (patch)
tree4f53e59e94c16706c4d0f250801dc6d359e342cb /src/sql/doc
parent81e69ffdbac1e6f2066c2de3e5cfecbb923f2b15 (diff)
Doc: Remove section on how build the MySQL driver for MinGW users
The section is clearly outdated. It references MinGW from mingw.org, which we don't support anymore. With a more modern MinGW you can just use the recipe to link against the prebuilt binaries the same way we do describe for MSVC. Task-number: QTBUG-17268 Change-Id: I15b96fd328605b60d1494a703b9005e2c16aea39 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/sql/doc')
-rw-r--r--src/sql/doc/src/sql-driver.qdoc67
1 files changed, 0 insertions, 67 deletions
diff --git a/src/sql/doc/src/sql-driver.qdoc b/src/sql/doc/src/sql-driver.qdoc
index 849cdcd544..f1fd2f6e90 100644
--- a/src/sql/doc/src/sql-driver.qdoc
+++ b/src/sql/doc/src/sql-driver.qdoc
@@ -175,73 +175,6 @@
built in release mode only. If you are expecting a debug version
to be built as well, don't use the \c{"-o Makefile"} option.
- \section3 How to build the MySQL driver for MinGW users
-
- The following steps have been used successfully for WinXP SP3. In
- this example, Qt 4.6.2 is shown.
-
- \list
-
- \li Download the following components:
- \list
- \li \c{MinGW-5.1.6.exe}
- \li \c{mingw-utils-0.3.tar.gz}
- \li Qt sources, e.g. \c{qt-everywhere-opensource-src-4.6.2.zip}
- \li \c{mysql-5.1.35-win32.msi}
- \endlist
-
- \li Install \c{MinGW-5.1.6.exe} in, e.g. \c{C:\MinGW}.
-
- \li Extract \c{mingw-utils-0.3.tar.gz} into, e.g. \c{C:\MinGW}.
-
- \li Add the path for \c{MinGW-5.1.6.exe} to your \c{PATH} variable,
- e.g. \c{C:\MinGW\bin;}
-
- \li Extract the Qt sources, (\c{qt-everywhere-opensource-src-4.6.2.zip}),
- into, e.g. \c{C:\Qt}.
-
- \li Add the path for the eventual Qt binary to your \c{PATH} variable,
- e.g. \c{C:\Qt\4.6.2\bin;}.
-
- \li Install MySQL (\c{mysql-5.1.35-win32.msi}), customizing the
- components. Select only the headers and libraries. Install in,
- e.g. \c{C:\MySQL\MySQL51}.
-
- \li Open the DOS prompt, go to \c{C:\MySQL\MySQL51\lib\opt}, and run
- the following commands:
- \list
- \li \c{reimp -d libmysql.lib}
- \li \c{dlltool -k -d libmysql.def -l libmysql.a}
- \endlist
-
- \li Open the DOS prompt, go to \c{C:\Qt\4.6.2} and run the following commands:
- \list
- \li \c{configure.exe -debug-and-release -platform win32-g++ -qt-sql-mysql
- -l mysql -I C:\MySQL\MySQL51\include -L C:\MySQL\MySQL51\lib\opt}
- \li \c{mingw32-make sub-src}
- \endlist
- This step takes a long time.
-
- \li Open the DOS prompt, go to
- \c{C:\Qt\4.6.2\src\plugins\sqldrivers\mysql} and run the
- following command:
- \list
- \li \c{qmake "INCLUDEPATH+=C:/MySQL/MySQL51/include" "LIBS+=-L. mysql" mysql.pro}
- \endlist
-
- \li Now the following libraries are ready in \c{C:\Qt\4.6.2\plugins\sqldrivers}.
- \list
- \li \c{libqsqlmysql4.a}
- \li \c{libqsqlmysqld4.a}
- \li \c{qsqlmysql4.dll}
- \li \c{qsqlmysqld4.dll}
- \endlist
- To use the SDK and QtCreator directly, copy these libraries to
- your \c{C:\Qt\...\qt\plugins\sqldrivers\}, and copy
- \c{C:\MySQL\MySQL51\lib\opt\libmysql.dll} to your \c{C:\Qt\...\qt\bin\}.
-
- \endlist
-
\target QOCI
\section2 QOCI for the Oracle Call Interface (OCI)