sqlite3.h

greensparker schrieb:
> 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
>>
>>
> 
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to