Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved QMYSQL driver not loaded in os windows

    Persian
    mysql qt5.9 database c++
    3
    3
    1841
    Loading More Posts
    • 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.
    • J
      javad935 last edited by javad935

      این ارور چطوری رفع کنم ؟
      QSqlDatabase: QMYSQL driver not loaded
      QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
      0_1525156472710_1456.JPG

      JonB 1 Reply Last reply Reply Quote 0
      • JonB
        JonB @javad935 last edited by

        @javad935
        Google for: QSqlDatabase: QMYSQL driver not loaded
        There are plenty of answers.
        I forget what it is for Windows, but you have to install some kind of libmysql.dll to allow it to load QMYSQL driver.

        1 Reply Last reply Reply Quote 1
        • L
          LFBuildAMountain last edited by

          I have add C:\mysql\mysql-5.7.21-winx64\lib into path variable. but don't work!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post