Yeah, there are significant locking issues in sqlite under Qt, in
particular if you hold a query open (either via QSqlQuery, or
QSqlTableModel et al). clear() is your friend when things start going
south. Also, another gotcha to watch out for, if the query fails, check
the queries lastError(), not
John Stanton a écrit :
Alain Bertrand wrote:
In a Qt4 application, I have the following bit of code :
QString s;
bool b;
QSqlQuery q;
QSqlError err;
s= "CREATE TABLE ttd_bdata (sheetId integer primary key,";
s+="creation_date date, modif_date date,";
s+="specie
Alain Bertrand wrote:
Joe Wilson a écrit :
--- Alain Bertrand <[EMAIL PROTECTED]> wrote:
> --- Alain Bertrand <[EMAIL PROTECTED]> wrote:
In a Qt4 application, I have the following bit of code :
QString s;
bool b;
QSqlQuery q;
QSqlError err;
s= "CREATE TABLE ttd_bdat
Joe Wilson a écrit :
--- Alain Bertrand <[EMAIL PROTECTED]> wrote:
> --- Alain Bertrand <[EMAIL PROTECTED]> wrote:
In a Qt4 application, I have the following bit of code :
QString s;
bool b;
QSqlQuery q;
QSqlError err;
s= "CREATE TABLE ttd_bdata (sheetId integer primary
4 matches
Mail list logo