Results 1 to 1 of 1

Thread: QMYSQL: The specified module could not be found

  1. #1
    Join Date
    Nov 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default QMYSQL: The specified module could not be found

    Just yesterday I recompiled Qt with MySQL support, and it was working fine, until now... when it just stopped loading. At first I was really confused because it said it wasn't loading, but the driver still showed up in the list. After delete the cache from the registry the QMYSQL entry now no longer shows up the the available drivers list, however my problem still remains. Both libqsqlmysql4.a and qsqlmysql4.dll are still in the plugins folder.

    I set the QT_DEBUG_PLUGINS environment variable to get more information, and all it says is: "qsqlmysqld.dll: The specified module cannot be found." I'm not sure what specifically that is referring to.

    I'm using Qt 4.5.3 on Windows 7.

    Any help would be greatly appreciated!

    Thanks!

    EDIT:
    Well, I fixed it. I had to change from debug mode to release mode, and then I had to put libmysql.dll in the same directory as the executable, which is strange because the mysql bin folder was in the path environment variable. Oh well, I'm not going to try to analyze it...
    Last edited by jonny_wonny; 22nd November 2009 at 02:21. Reason: updated contents

Similar Threads

  1. QSqlDatabase: QMYSQL driver not loaded
    By onder in forum Newbie
    Replies: 12
    Last Post: 29th March 2017, 14:43
  2. Help with QMYSQL driver for QT 4.4.0: driver not loaded
    By khikho in forum Installation and Deployment
    Replies: 4
    Last Post: 1st April 2011, 15:00
  3. Replies: 6
    Last Post: 28th April 2009, 06:58
  4. The strange problem:"QSqlDatabase: QMYSQL driver not loaded"
    By osmanthus in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd January 2009, 15:12
  5. QMYSQL driver not loaded
    By sepehr in forum Qt Programming
    Replies: 12
    Last Post: 11th January 2009, 20:15

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.