PDA

View Full Version : Cant get qmysql to work, im stumped..



tgreaves
2nd June 2009, 15:00
I compiled the qmysql driver and everything worked great with that.. When I try to use it in visual studio my debug info is...

'WinOSC.exe': Loaded 'C:\Qt\4.5.1\plugins\sqldrivers\qsqlmysqld4.dll', Symbols loaded.
'WinOSC.exe': Unloaded 'C:\Qt\4.5.1\plugins\sqldrivers\qsqlmysqld4.dll'
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QODBC3 QODBC

Any ideas?

wysota
2nd June 2009, 19:48
Do you have appropriate libraries from mysql installed? What does the dependency walker say when pointed to the plugin?