[Qt-interest] problem with QSqlQuery

Sean Harmer sean.harmer at maps-technology.com
Tue May 25 16:04:15 CEST 2010


On Tuesday 25 May 2010 14:59:37 Sean Harmer wrote: 
> Instead for example try it like this:
> 
> QSqlQuery query;
Sorry the above line should be

QSqlQuery query( db );

to make the query use your established connection even if it is not the 
default connection.

Sean



More information about the Qt-interest-old mailing list