Hi,
I am assuming that you have QT SDK for Windows 64 bits and mysql for 64 bits
1. Put in your path environmental variable the qt bin and MinGW bin directories. This is accessible with properties of my computer --> advanced tab --> environmental variables (you need to be admin). For example: ;C:\Qt\2010.03\qt\bin;C:\Qt\2010.03\mingw\bin
2. run cmd (the command line terminal)
3. cd into the mysql plugin. For example: cd C:\Qt\2010.03\qt\src\plugins\sqldrivers\mysql
4. run the following command substituting the path to where your mysql is (replace the C:\mysql\mysql-5.5.23-win32\ to where your mysql is) :
qmake mysql.pro INCLUDEPATH+=C:\mysql\mysql-5.5.23-win32\include LIBS+=C:\mysql\mysql-5.5.23-win32\lib\libmysql.lib
qmake mysql.pro INCLUDEPATH+=C:\mysql\mysql-5.5.23-win32\include LIBS+=C:\mysql\mysql-5.5.23-win32\lib\libmysql.lib
To copy to clipboard, switch view to plain text mode
5. run mingw64-make
After this you will have the new mysql plugin in [QT directory]\plugins\sqldrivers.
Carlos.
Bookmarks