Hey,
After compiling the driver you get both release and debug versions,...that is if you compiled them both. Now you need to copy these four files files(including the .lib) file to the folder plugins/sqldrivers ...in the Qt directory. Then the QT framework will not complain anymore. Infact in that folder you have other compiled drivers as well.

Good luck