Sorry, can't help you.
compile your plugins both debug and release,
add to .pro file,
@
qt += sql
@
compile your Qt application with same compiler as you just compiled libraries,
put your plugin libraries in right place,
copy any other libraries provided by DBMS vendor beside your application.
This works properly for me.