我正在使用Qt为Symbian Devices创建一个应用程序&我想用数据库(sqlite) 但这是错误的。如何删除?
代码:
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:未解析的外部符号“__declspec(dllimport)public:_ thiscall QSqlQuery :: ~QSqlQuery(void)”( _imp _ ?? 1QSqlQuery @@ QAE @ XZ)引用在函数“private:void __thiscall AddData :: save(void)”(?save @ AddData @@ AAEXXZ)
谢谢。