Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QOBDC driver missing
Qt 6.11 is out! See what's new in the release blog

QOBDC driver missing

Scheduled Pinned Locked Moved Installation and Deployment
10 Posts 2 Posters 4.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Castorus
    wrote on last edited by
    #1

    I've just installed Qt 5.0.1 with MinGW, and it didn't include the qsqlodbc4.dll into the qsql plugin.
    Where can I get it from?

    Thank you in advance.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      You can build it. I don't know where it placed in Qt5 but in old versions you can find it at:
      @[QtDir]/src/plugins/sqldrivers/odbc@

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Castorus
        wrote on last edited by
        #3

        I know it was supposed to be in that filepath, but it's not. I only need the dll.

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qxoz
          wrote on last edited by
          #4

          You mean you can't find qodbc plugin sources?

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Castorus
            wrote on last edited by
            #5

            Exactly, I don't have the OBDC driver aka qsqlodbc4.dll

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qxoz
              wrote on last edited by
              #6

              I am little bit confused, maybe i don't clearly understand you ?
              You need qodbc driver, in Qt 5 directories you didn't find prebuild dll. Right?
              So why you don't build it from sources?
              Or i am not understand you at all and you can't find plugin sources in Qt src directory. Which one is true?

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Castorus
                wrote on last edited by
                #7

                You did understand me, I couldn't find the plugin sources in the Qt directory. I'd just need the qsqlodbc4.dll
                Qt creator is telling me "QSqlDatabase: QODBC driver not loaded". Indeed, it's not in [QtDir]/src/plugins/sqldrivers/odbc

                Where can I get it from or how can I create it?

                Thank you.

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  qxoz
                  wrote on last edited by
                  #8

                  I install Qt 5.0.1 MinGw in directory c:\Qt
                  Go to the
                  @c:\Qt\Qt5.0.1\5.0.1\Src\qtbase\src\plugins\sqldrivers\odbc@
                  directory and buil odbc.pro project(debug and release modes).
                  in my case dlls was createn in c:\plugins\sqldrivers\

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    Castorus
                    wrote on last edited by
                    #9

                    Thank you, that did help!

                    1 Reply Last reply
                    0
                    • Q Offline
                      Q Offline
                      qxoz
                      wrote on last edited by
                      #10

                      Glad to hear :)

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved