Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Driver QMYSQL not load
Forum Updated to NodeBB v4.3 + New Features

Driver QMYSQL not load

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bkerdev
    wrote on last edited by
    #1

    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")

    Boris Bker

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you install the new libs ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved