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

Driver QMYSQL not load



  • I have problems with the MySQL driver.
    I use Qt 5.0.2 and Qt Creator 2.7.1
    I compile the various as indicated in the documentation.
    After compilation, it has created
    liqsqlmysql.dylib and libqsqlmysql_debug.dylib
    But when I complie a project using MySQl I have the following error:

    bq. QSqlDatabase: QMYSQL driver not loaded
    QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 QPSQL QPSQL7
    QSqlError(-1, "Driver not loaded", "Driver not loaded")


  • Lifetime Qt Champion

    Hi,

    Did you install the new libs ?


Log in to reply