Building QT with "windeployqt": not connect to database (ODBC)
Solved
Installation and Deployment
-
Use a tool like Dependency Walker to find the direct dependencies you need to deploy.
-
This is for your application executable, you should check the database plugin.
-
Eventually, this is the output:
These are already present:
- LIBGCC_S_DW2-1.DLL
- LIBSTDC++-6.DLL
- QT5CORE.DLL
- QT5SQL.DLL
I downloaded the other 3 [https://www.dll-files.com/search.dll.html], and added these in the same folder.
-
And the ODBC dll ?
-
Yes, did you check the dependencies of that one ?
-
Sorry what I meant was did you configure the ODBC data source on the 2nd computer.
Like this:
--James