@smb564 I had the same problem with QMYSQL not loaded. I ran
$sudo apt-get installlibqt4-sql-mysql
and it worked