Results 1 to 4 of 4

Thread: QMYSQL Driver not Loaded, there are no driver Available on the QSqlDatabase

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QMYSQL Driver not Loaded, there are no driver Available on the QSqlDatabase

    Maybe the plugin itself can't be found.

    To debug further set the QT_DEBUG_PLUGINS environment variable to 1, this should give you some output on what the Qt plugin loader does.
    See https://doc.qt.io/qt-5/deployment-pl...ugging-plugins

    Or try a different SQL plugin, e.g. for SQLite, just to see if that can be loaded and only the one for MySQL cannot.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    aymenbest2 (27th May 2019)

Similar Threads

  1. QSqlDatabase: QMYSQL driver not loaded with certain OS
    By salamander in forum Installation and Deployment
    Replies: 2
    Last Post: 7th June 2019, 16:13
  2. QSqlDatabase: QMYSQL driver not loaded
    By BuranereLoo in forum Newbie
    Replies: 4
    Last Post: 25th August 2015, 16:34
  3. QSqlDatabase: QMYSQL driver not loaded
    By edsonmcz in forum Qt Programming
    Replies: 7
    Last Post: 15th November 2014, 07:29
  4. QSqlDatabase: QMYSQL driver not loaded
    By prachik in forum Newbie
    Replies: 1
    Last Post: 13th January 2014, 20:40
  5. QSqlDatabase: QMYSQL driver not loaded
    By lise in forum Newbie
    Replies: 3
    Last Post: 1st June 2010, 13:09

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.