Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Under Win7 64 bit, cannot add mysql driver.



  • Under Win7 64 bit, cannot add mysql driver.
    I use 32Bit qt and 32 bit mysql, build mysql driver ok, QSqlDatabase::drivers() can see "QMYSQL", but QSqlDatabase::addDatabase("QMYSQL") failed.
    I copied the libmysql.dll to C:\Windows\System32, still fail.

    I succeed connect mysql under Win7-32bit.


Log in to reply