I am having a problem with SQLITE.
When the program executes the addDatabase, the simulator hangs then crashes. It always exit with the code -1073741819.
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
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