Results 1 to 14 of 14

Thread: MySql Driver not loaded

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2007
    Posts
    3
    Thanked 1 Time in 1 Post
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: MySql Driver not loaded

    I have had the same problem and I have found a solution.
    with mysql-5.0.41 I was able to compile the plugin for qt, but it just wasn't being loaded. I reverted back to an older version of mysql, in my case, 5.0.27 and everything worked fine.

    This may or may not be the problem that you are having, but it is worth a try.

  2. #2
    Join Date
    Jun 2007
    Location
    Netherlands
    Posts
    54
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MySql Driver not loaded

    Quote Originally Posted by bongobonga View Post
    I have had the same problem and I have found a solution.
    with mysql-5.0.41 I was able to compile the plugin for qt, but it just wasn't being loaded. I reverted back to an older version of mysql, in my case, 5.0.27 and everything worked fine.

    This may or may not be the problem that you are having, but it is worth a try.
    And how did you configure evrything?

  3. #3
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MySql Driver not loaded

    Maybe 2 other things you should check( if you haven't done for so far):

    After you configured Qt you get a report which contains the configuration, make sure mysql is yes (or plugin).

    Make sure your .pro file contains the line QT += sql

  4. #4
    Join Date
    Jun 2007
    Location
    Netherlands
    Posts
    54
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MySql Driver not loaded

    If you mean with the report the info get after you verify you want to configure qt the yes it always says that mysql: yes or mysqll: plugin

    And when i compile a project i always follow the same three steps.
    First: qmake -project "QT += sql"
    Second: qmake projectname.pro
    Third: make

Similar Threads

  1. QSqlDatabase: QMYSQL driver not loaded
    By onder in forum Newbie
    Replies: 12
    Last Post: 29th March 2017, 14:43
  2. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  3. My Mysql 5 and Qt 4.2.2 Problem (Driver not loaded)
    By fengtian.we in forum Qt Programming
    Replies: 4
    Last Post: 9th February 2007, 08:11
  4. MySql plugin driver issues
    By stevey in forum Installation and Deployment
    Replies: 11
    Last Post: 20th September 2006, 13:45

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.