PyQt5: specifying QSqlTableModel [FIXED]

Rich Shepard rshepard at
Tue Jun 8 19:51:03 BST 2021

On Thu, 3 Jun 2021, Rich Shepard wrote:

> Debugging a module to display a QTableView of a small database table I get
> this error:

Found and fixed the problem.

Qt5 added support for PostgreSQL-12 in Qt5-5.15.0. I upgraded Qt5 and PyQt5
to 5-15.2 and now my application loads the table rows in the QTableView.

Thanks for all your suggestions,


More information about the PyQt mailing list