[Qt-interest] compiling mysql plugin for windows

Bahadır Doğan abahadirdogan at gmail.com
Mon Feb 23 19:59:56 CET 2009


hello,
I'm trying to compile mysql plugin for windows. I follow this tutorial:
http://wiki.qtcentre.org/index.php?title=Building_the_QMYSQL_plugin_on_Windows_using_MinGW
my PATH environment variable is set to:
C:\Program Files\MySQL\MySQL Server
5.1\bin;C:\Qt\QtCreator\mingw\bin;C:\Qt\QtCreator\qt\bin
I created the liblibmysql.a as told in the tutorial.
Then I try to run this command in the /plugins/sqldrivers/mysql directory:

qmake -o Makefile "INCLUDEPATH+=C:\Progra~1\MySQL\MySQLS~1.0\include"
"LIBS+=C:\Progra~1\MySQL\MySQLS~1.0\lib\opt\liblibmysql.a" mysql.pro

But I get an error saying:

C:\Progra~1\MySQL\MySQLS~1.0\include"
"LIBS+=C:\Progra~1\MySQL\MySQLS~1.0\lib\op
t\liblibmysql.a" mysql.pro
Failure to read QMAKESPEC conf file
c:/qt-greenhouse/Trolltech/Code_less_create_
more/Trolltech/Code_less_create_more/Troll/4.4.3/qt/mkspecs/win32-g++\qmake.conf
.
Error processing project file: mysql.pro


What is the problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090223/9e9465ef/attachment.html 


More information about the Qt-interest-old mailing list