Results 1 to 10 of 10

Thread: Database drivers missing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Database drivers missing

    Quote Originally Posted by EvIL_GuY View Post
    I lost 1 hour searching for the odbc.pro, and after opened every single folder I realized that I did not have it too.. now any other suggestion? If i uninstall it, download it again and after installing will I have that... drivers?
    Here are a few hints:
    • Since 1995 Windows has a search function on the Start menu that can find a file by name with a minimum of fuss
    • You won't find the Qt sources if you haven't installed them
    • If you are using the Qt SDK then you should:
      • Start the updater from the Qt Creator Help menu or the Windows Start menu
      • Select Package Manager and press Next>
      • Under Qt SDK > Miscellaneous > Qt Source select the sources matching the Qt version you are building against, press Next>
      • Press Update and behold the magic
      • You will find the sources under the obscurely named "QtSources" folder of the location you installed the SDK (usually C:\QtSDK)
      • The make command is "mingw32-make" if you are using the MingW compiler
    • If you are not using the SDK then you can download the sources matching your Qt binary version from the Qt download page
    Last edited by ChrisW67; 13th January 2012 at 06:03. Reason: updated contents

  2. The following user says thank you to ChrisW67 for this useful post:

    EvIL_GuY (13th January 2012)

  3. #2
    Join Date
    Jan 2012
    Posts
    4
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows

    Default Re: Database drivers missing

    Ok I have downloaded the sources and I made everything from the link above and I get qsqlodbcd4.dll what should I do now?

  4. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Database drivers missing

    Type:
    Qt Code:
    1. mingw32-make install
    2. OR
    3. nmake install
    To copy to clipboard, switch view to plain text mode 
    as appropriate. This will copy the debug plugin, qsqlodbcd4.dll, into the correct plugins directory. That directory will be:
    Qt Code:
    1. %QTDIR%\plugins\sqldrivers\odbc
    To copy to clipboard, switch view to plain text mode 

    When you want to build the release version rerun the steps starting with:
    Qt Code:
    1. qmake CONFIG+=release
    2. OR
    3. qmake CONFIG+=build_all
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Replies: 1
    Last Post: 9th January 2012, 00:23
  2. how to install DataBase Drivers
    By un9tsandeep in forum Qt Programming
    Replies: 2
    Last Post: 4th October 2011, 12:44
  3. LGPL and distributing QT database drivers
    By BitRogue in forum General Discussion
    Replies: 4
    Last Post: 7th July 2011, 09:32
  4. database drivers - installation
    By banita in forum Qt Programming
    Replies: 5
    Last Post: 29th April 2010, 19:26
  5. Issues regarding QMySql drivers and mysql database
    By bera82 in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2006, 17:50

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
  •  
Qt is a trademark of The Qt Company.