Hi for me on windows 7 it works like this:

Driver not loaded means the sqldrivers folder cannot be located -> if i rename my sqldrivers folder i will get this error...

my folder/path structur:

libmysql.dll
urProgramm.exe
otherQtDlls.dll
sqldrivers\qsqlmysql4.dll

sqldrivers is a folder in the "exe" directory.

That mean put the "libmysql.dll to ur exe and other qtdll´s like qtguidll.... put the sqldrivers Folder in the path where ur exe is located.


I hope this helps you out of this.

Greets Anenja