when i made the mysqwl plugin i did not need to reimp the lib.. all i did was just the following:


open QT Prompt...and do this

cd %QTDIR%\src\plugins\sqldrivers\mysql
qmake "INCLUDEPATH+=C:\MySQL\include" "LIBS+=C:\MYSQL\lib\opt\libmysql.lib" mysql.pro
mingw32-make

and i put the mysql.lib into the windows/system32 and the mingw32 lib


this was all i did.. and builded in release not debug

i never tried it on a clean isntall but only after i used the phonon4qt package.