Quote Originally Posted by ad5xj View Post
A call to QSqlDatabase::setDatabasename()
Could you post the code of MainWindow::createConnection()?