QSqlQuery query( "SELECT data FROM pictures WHERE rowid=1;" );
query.next(); // <- positions the query on the first row
QSqlRecord record = query.record();
To copy to clipboard, switch view to plain text mode
Okay, thank you
Originally Posted by Thomas
One last issue.
Make sure you delete stuff which you created with new.
I thought Qt is handling such things for all the classes that inherit QObject, at least their own stuff? Okay, thx I'll add everything to my destructors
Bookmarks