Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] Qt5 mingw and mysql driver
did you tested mysql driver in Qt5 with mingw?
i've created libmysql.a just like i was before with Qt4. when i try to load the driver, fails but afterward lists QMySQL and QMySQL3 as available drivers.
alizadeh91 last edited by
Same bug occurred to me some times ago with msvc not mingw and in windows. after a while i've found that i have to add mysql drivers to envirenment path!!
doesn't affect. the problem seems to be a kind of incompatibility with some prototypes or something in lib symbols. other drivers on same path loaded with no problem.
i checked the driver with dependency walker and i found that libmysql.dll was missing. so i added to envvar and the problem fixed.