Visual Studio 2019 Professional, retargeted qt project for qt 5.12.2 (Qt\5.12.2\msvc2017_64).Trying to connect to a MySQL DB, although the files
qsqlmysqld.dll andlibmysql.dll
get loaded the output I get is
QSqlDatabase: QMYSQL3 driver not loaded QSqlDatabase: availabledrivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
Could not connect
What could be wrong this time?
edit: for clarification purposes that's the output I get
'Current Project' (Win32): Loaded 'C:\Qt\5.12.2\msvc2017_64\plugins\sqldrivers\qsqlmysqld.dll'.
'Current Project' (Win32): Loaded '....\libmysql.dll'.
So it's true that it doesn't load the libmysqld.dll library.Something else that is unclear to me is the Win32 in the parentheses, as I have x64 selected.
I have tried both x86 and x64 versions of libmysql.dll but it didn't work.Furthermore running dumpbin to identify library dependencies it seems that everything is there