Compile MySQL plugin on QT 4.7.3 [Closed]
Locked
Installation and Deployment
-
Hello,
I looked everywhere on Internet but I can't find a way to compile the MySQL driver for Qt 4.7.3!On tutorials like "Pikopong":http://www.pikopong.com/blog/2010/04/11/how-to-enable-mysql-support-in-qt-sdk-for-windows/, there is no "mysql/" folder and no "mysql.pro" file anywhere.
Any idea ?
Thanks. -
- Download the Qt sources
- Install the MySQL development package (you need headers and libs)
- Configure Qt with mysql support
@
./configure -qt-sql-mysql <plus other options as needed>
@
You may also need to explicitly add an include path and a lib path using the -I and -L options in the above configure call so that qmake can find the MySQL headers and libs. - Build Qt using make/nmake/jom/whatever.
-
You obviously did not look everywhere, because right here on this forum a "topic":http://developer.qt.nokia.com/forums/viewthread/5698/ was opened yesterday on this.
Discussion continues there. This topic is closed.