PDA

View Full Version : Error in Qt configuration with My SQL



sosanjay
21st November 2009, 14:15
Hi,

I have got mysql.h not found error.

Please check the jpg file and help me for solving the error.

wirasto
21st November 2009, 17:16
You must have mysql installed on your machine, where you compile it.

http://wiki.qtcentre.org/index.php?title=Building_the_QMYSQL_plugin_on_Wind ows_using_MinGW

Blando
19th May 2010, 07:34
Do you have to use Mingw32??
When I was building MySQL plugin using Visual Studio I read where a lot of people had trouble with mingw32.
They had to convert the "mysql.lib" to "mysql.a" .
Make sure you: (add MySQL include folder to include path)
set include=%include%c:\MYSQL\include;

Good Luck,
-Brian