On 11.01.12 16:56:38, Panupat Chongstitwattana wrote:
> I'm using the same ip address, same user name and same password to make
> connection. What could cause QtSqlDatabase to fail connection where
> psycopg2 has no problem? Am I missing something? Do both of them connect to
> the same port by default? Anyway to view more detail error message of QtSql?

Did you check that you have the postgresql driver for Qt installed and
working? Check the Qt plugins for the psql driver and check that it can
find the postrgesql dll.

Andreas

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to