Yeah, it works now... so I guess you have to follow the following (undocumented) rules:
1) You must create your database connection before you create your (QSqlRelatinoalTableModel) model.
2) You must create your QSqlRelationalTableModel object on the heap, using the 'new' operator.
Did I miss anything?
Bookmarks