Results 1 to 15 of 15

Thread: MySQL driver , I have, it still not loaded

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: MySQL driver , I have, it still not loaded; Firebird response

    Quote Originally Posted by lucenty View Post
    I have a question: what difference is between qsqlibase4.dll and qsqlibased4.dll?
    The latter is a debug version of the plugin. It's required on Windows if your application is built in debug mode.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following 2 users say thank you to wysota for this useful post:

    lucenty (10th August 2009), Raccoon29 (16th December 2009)

  3. #2
    Join Date
    Feb 2009
    Location
    Bydgoszcz, Poland
    Posts
    16
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver , I have, it still not loaded; Firebird response

    I have new problem

    I have installed the newest QT version (2010.5). I compiled MySql (http://blog.rubypdf.com/2010/08/11/h...s-using-mingw/). I opened QtCreator , compiled my aplication and it worked, so I can be happy .... but I'm no happy beacourse this aplication don't work in another system ..... "Driver not loaded"
    (I had copied all library)

    Interesing is that this aplication not work ( the same error) when I change the Folder ("sqldriver") name in lokation : "C:\qt\2010.05\qt\plugins\".
    So I thought that I must copy all file from this directory to my aplikation directory , then it should work ... but not.

    Were is the problem ??

  4. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: MySQL driver , I have, it still not loaded; Firebird response

    Quote Originally Posted by bigkoma View Post
    but I'm no happy beacourse this aplication don't work in another system ..... "Driver not loaded"
    (I had copied all library)
    Obviously you havn't or at the wrong place. So where have you copied them? Or have a look at qt.conf to define the place your application should look for the plugins.

  5. The following user says thank you to Lykurg for this useful post:

    bigkoma (30th January 2011)

  6. #4
    Join Date
    Feb 2009
    Location
    Bydgoszcz, Poland
    Posts
    16
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MySQL driver , I have, it still not loaded; Firebird response

    Quote Originally Posted by Lykurg View Post
    Or have a look at qt.conf to define the place your application should look for the plugins.
    Where do I have to look for this?


    =====================================
    edit
    =====================================

    Lykurg - thanks for information,

    My "qt.conf" (in my application location) have simple look:

    Qt Code:
    1. [Paths]
    2. Plugins = ./plugins
    To copy to clipboard, switch view to plain text mode 

    So in location where I have my application, I created new folder "plugins" and copied the folder "sqldriver" from QT location to this folder.
    Last edited by bigkoma; 30th January 2011 at 11:45.

  7. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: MySQL driver , I have, it still not loaded; Firebird response

    Do you have MySQL client library (not the Qt plugin) installed on the other system?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. mysql driver not loaded after deployment
    By tpf80 in forum Newbie
    Replies: 4
    Last Post: 4th September 2011, 10:12
  3. exception at 0x65100c40 (QtGuid4.dll)
    By sabeesh in forum Qt Programming
    Replies: 11
    Last Post: 21st December 2007, 17:10
  4. 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
  5. MySql plugin driver issues
    By stevey in forum Installation and Deployment
    Replies: 11
    Last Post: 20th September 2006, 13:45

Tags for this Thread

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.