OK, I know I should probably be using a QSQLTableModel or something like that, but I have a quick demo to do, not much time to learn these models until later.
I'm trying to insert data with query.exec("insert....")and would like to know what ROWID was in fact inserted.
Any suggestions?


But maybe you can convince me that QSQLTableModel is so easy to learn I can get it running in an hour...