This has been discussed many times in this forum and the link from 'unit' contains all the information you need, please read it.
Also, remember that you need to install the MySQL development files (library and include files).
After building the plugin, the libs will be located in:
\Qt\<Qt version>\qt\plugins\sqldrivers
at least that's the location for Qt sdk on XP with mingw.
Bookmarks