QOBDC driver missing
-
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.
-
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@ -
I know it was supposed to be in that filepath, but it's not. I only need the dll.
-
You mean you can't find qodbc plugin sources?
-
Exactly, I don't have the OBDC driver aka qsqlodbc4.dll
-
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? -
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/odbcWhere can I get it from or how can I create it?
Thank you.
-
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\ -
Thank you, that did help!
-
Glad to hear :)