I'm creating a credit card applicatoin using Qt for Symbian Products &lifier i wish to use database(sqlite) but it's craeting this error. How you can remove this?

Code:

    QSqlQuery query;
    query.prepare("INSERT INTO glucose(value, date, time, duration, note)""VALUES(:value, :date, :time, :duration, :note)");
    query.bindValue(":value",edit_glucose->text());
    query.bindValue(":date",datetime->date());
    query.bindValue(":time",datetime->time());
    query.bindValue(":duration","a");
    query.bindValue(":note",edit_note->toPlainText());
    query.exec();

adddata.obj:: error: conflicting exterior symbol "__declspec(dllimport) public: _thiscall QSqlQuery::~QSqlQuery(void)" (_imp_??1QSqlQuery@@QAE@XZ) recommended in function "private: void __thiscall AddData::save(void)" (?save@AddData@@AAEXXZ)

Thanks.

I believe you didn't remember to include the SQL support inside your .professional file

QT += sql

You'll be able to include QSqlQuery.