Where is Qt's plugin folder? I can only find this C:\Python26\Lib\site-packages\PyQt4\plugins\sqldrivers
It has 4 files in it. qsqlite4.dll qsqlmysql4.dll qsqlodbc4.dll qsqlpsql4.dll On Wed, Jan 11, 2012 at 5:45 PM, Andreas Pakulat <ap...@gmx.de> wrote: > 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 >
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt