15.06.2015, 18:33, "Graham Labdon" <graham.lab...@avalonsciences.com>: > Hi > I am trying to open a sqlite database and display it in a QTableView but it > is not working. > Here is my code
Try replace this: > m_model = new QSqlTableModel; With this: m_model = new QSqlTableModel(this, m_qsqlDatabase); Regards, Konstantin Podsvirov _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest