I have had the same problem and I have found a solution.
with mysql-5.0.41 I was able to compile the plugin for qt, but it just wasn't being loaded. I reverted back to an older version of mysql, in my case, 5.0.27 and everything worked fine.
This may or may not be the problem that you are having, but it is worth a try.
Bookmarks