Check that with QSqlDatabase::port(). Because in your example code you do not set the port.
Check that with QSqlDatabase::port(). Because in your example code you do not set the port.
QSqlDatabase.port() return -1.
Last edited by helen; 5th December 2011 at 20:22.
Bookmarks