Results 1 to 10 of 10

Thread: Database drivers missing

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

    Default Database drivers missing

    Can someone upload the database drivers.dll. If you don't have time for more upload just QODBC.dll I really need it. Thank you in advance .

  2. #2
    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

    Build it yourself... It's faster than waiting for someone else, and any plugin DLL someone gives you has to match your compiler exactly anyway.
    Last edited by ChrisW67; 12th January 2012 at 01:49. Reason: wrong bbcode tag usage

  3. #3
    Join Date
    Feb 2011
    Posts
    64
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Database drivers missing

    Build it yourself... It's faster than waiting for someone else, and any plugin DLL someone gives you has to match your compiler exactly anyway.
    And don't forget Qt version too.

  4. #4
    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

    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?

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

    Default Re: Database drivers missing

    Install a U*ix system

    $ find . -name "*odbc.pro"
    ./src/plugins/sqldrivers/odbc/odbc.pro
    Hint: if you want to compile something, you obviously need the source code for it.
    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.


  6. #6
    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

    Quote Originally Posted by wysota View Post
    $ find . -name "*odbc.pro"
    ./src/plugins/sqldrivers/odbc/odbc.pro
    It's ok that, but I don't have the "src" folder and when searched before few hours in every "sqldriver" folder I opened there was only "qsqlite4.dll".. :S

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

    Default Re: Database drivers missing

    Read my hint again.
    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.


  8. #8
    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

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

    EvIL_GuY (13th January 2012)

  10. #9
    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?

  11. #10
    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.