Hi, I have the following problem trying to connect to a PostgresSQL database with PostgreSL 8.3:
Starting C:/Users/Alberto/Desktop/qttest/test1/debug/test1.exe...
QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QODBC3 QODBC
In linux (ubuntu) it works, but not in Windows. I've googled a lot and actually I've found some "solutions", the problem is that I don't know how to carry out them. Anyway most of those solutions didn't really work, cause threads just ended up opened (with no final solution).
The solution appears to be nice is the one explained in this post (only 5 short replies):
http://www.qtcentre.org/forum/f-inst...ver-11171.html
And it's the following (if I've understood it right):
1. Use Dependency Walker with X (don't know how to use it, or the file I have to use it with)
2. Copy X .dll files into the folder where the executable is placed (don't know which .dll files exactly)
So the problem is that I don't understand it, or just don't know what do I have to do exactly. ¿Could any of you please guide me with this issue?.
Additional data that may be useful:
- Qt version: Qt 4.5.1 (the current newest one: qt-sdk-win-opensource-2009.02.exe, it also includes Qt-Creator 1.1.0 and MinGW 5.1.4)
- OS: Windows Vista
- PostgreSQL version: 8.3.7
Thanks in advance,
Alberto.
Bookmarks