Results 1 to 2 of 2

Thread: QMYSQL driver not loaded

  1. #1
    Join Date
    Jan 2020
    Qt products
    MacOS X

    Post QMYSQL driver not loaded

    Hi All

    I have Qt 5.12.6 and I am trying to load QMYSQL but getting following output on Mac.

    QSqlDatabase: QMYSQL driver not loaded
    QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 QPSQL QPSQL7

    I have followed some websites to custom build the driver but of no use, Please guide me.

  2. #2
    Join Date
    Jan 2008
    Alameda, CA, USA
    Thanked 759 Times in 749 Posts
    Qt products
    Windows Android

    Default Re: QMYSQL driver not loaded

    Building the QMYSQL driver is half of the solution. You also need the client-side MySQL library that QMYSQL uses to talk to the DBMS. I don't know what this is on the Mac, but I am sure you could find out on the MySQL web site.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Replies: 3
    Last Post: 3rd June 2019, 09:59
  2. QMYSQL driver not loaded
    By Erlkönig in forum Newbie
    Replies: 1
    Last Post: 2nd December 2016, 08:54
  3. CentOS 6: QMYSQL driver not loaded, available driver: (none)
    By mp33919 in forum Installation and Deployment
    Replies: 1
    Last Post: 19th October 2016, 16:46
  4. QMYSQL driver not loaded
    By robotics in forum Qt Programming
    Replies: 3
    Last Post: 26th July 2011, 13:43
  5. QMYSQL driver not loaded
    By cydside in forum Qt Programming
    Replies: 4
    Last Post: 31st March 2010, 03:18

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.