It's or sure no problem of Qt or the QSqlTableModel - fix your access rights.