Results 1 to 2 of 2

Thread: QSqlDatabase: QODBC driver not loaded

  1. #1
    Join Date
    Oct 2009
    Posts
    28
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QSqlDatabase: QODBC driver not loaded

    Hello everyone.

    I have one app developed in qt 4.6.2 which connects with MS Access.
    I want to distrubute the app to a computer without a Qt installation.
    I've use Dependency Walker to know what dlls I must add with the .exe. These are:
    • mingwm10.dll
    • libgcc_s_dw2-1.dll
    • qtcore4.dll
    • qtsql4.dll
    • qtgui4.dll


    And when I execute the application, I get the next error:

    QSqlDatabase: QODBC driver not loaded.

    But when I'm executing the app via QTCreator, everything works great.

    I'm doing something wrong, but I've no idea of what could be my mistake.
    Thanks a lot in advance and regards.

  2. #2
    Join Date
    Oct 2009
    Posts
    28
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QSqlDatabase: QODBC driver not loaded

    Hello again.
    I've found the solution in the forum right here http://www.qtcentre.org/threads/2113...ighlight=qodbc.

    Sorry for the inconvenieces.

Similar Threads

  1. QSqlDatabase: QMYSQL driver not loaded
    By onder in forum Newbie
    Replies: 12
    Last Post: 29th March 2017, 14:43
  2. QSqlDatabase: QMYSQL driver not loaded
    By earthling in forum Qt Programming
    Replies: 13
    Last Post: 4th December 2010, 15:19
  3. QODBC driver not loaded error
    By Askar in forum Qt Programming
    Replies: 0
    Last Post: 23rd October 2009, 10:35
  4. Replies: 6
    Last Post: 28th April 2009, 06:58
  5. qodbc driver not loaded error in release mode
    By mandal in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2006, 09:42

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.