I am having a problem with SQLITE.
if (QSqlDatabase::isDriverAvailable("QSQLITE")) // this works fine, returns true
db = QSqlDatabase::addDatabase("QSQLITE"); //but this statement does not work
QMessageBox::information(0, tr("Test "), "It works!"); // never reached this statement
When the program executes the addDatabase, the simulator hangs then crashes. It always exit with the code -1073741819.
I have included Qt += sql in pro file and included the whole QtSql package in my file. I am using Qt 4.7.3
How do I go about this?
Thank you very much