what are the headers i need to add in QT , to get sqlite3 *handle syntax and sqlite3_errmsg working ??
jan-118 wrote: > > greensparker schrieb: >> i want the trigger's raise error in QT call. > > Try this in Qt: > > QString msg; > QVariant v = QSqlDatabase::database().driver()->handle(); > sqlite3 *handle = *static_cast<sqlite3 **>(v.data()); > if (handle != 0) > msg =sqlite3_errmsg(handle); > > > Jan > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > -- View this message in context: http://www.nabble.com/how-to-get-the-Trigger%27s-Raise-err-in-Application-tp26091341p26112586.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users