QtSqlDatabase problems with Symbian

  • I'm trying to use the same code that works in my desktop and maemo platform into the symbian OS, but it is not working.
    I'm showing below the snipped of the code:

    QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
    qDebug()<<"DB open: "<<m_db.open();

    Result: "DB open: false"

    Is there anything to take in consideration in Symbian to create a database file?

  • No consideration, but you must do that :

    • add sql in pro file.
    • sFile is a right path for your db.

Log in to reply