Results 1 to 3 of 3

Thread: Qt and myQSL connection.

  1. #1
    Join Date
    Mar 2012
    Location
    India
    Posts
    22
    Thanks
    3
    Qt products
    Qt4

    Default Qt and myQSL connection.

    Hi,
    I have an application that uses MySql as database.
    when i build and run the application in release mode the application works just fine, but when i build it in debug mode the application while using QSqlDatabase::addresource() give QSqlDatabase: QMYSQL driver not loaded
    QSqlDatabase: available drivers: QSQLITE.
    I have included the qsqlmysqld4.dll in a folder named sqldrivers where my debug exe is.

    Am I missing something ?

  2. #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: Qt and myQSL connection.

    Have you tried renaming the DLL file to not end in "d". maybe that does not work for plugins.

    Cheers,
    _

  3. #3
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt and myQSL connection.

    Please check your include & lib paths.

Similar Threads

  1. Replies: 0
    Last Post: 11th November 2011, 20:18
  2. VPN connection
    By baobui in forum Newbie
    Replies: 6
    Last Post: 20th October 2010, 23:56
  3. Replies: 1
    Last Post: 2nd April 2010, 07:42
  4. Connection with MS SQL
    By manish_pesit in forum Qt Programming
    Replies: 4
    Last Post: 13th September 2006, 08:47
  5. connection
    By mickey in forum Qt Programming
    Replies: 4
    Last Post: 20th July 2006, 21:25

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.