Hi. I have a project that uses classes QSqlTableModel and QTableView, with SQLIte.
When I built this project using Qt 4.8.5, it worked. Once I built it with Qt 5.0.2, it started giving me ‘Segmentation Fault’ terminal errors.
Among other places, the error is occurring upon calling the QTableView::setCurrentIndex() on a subclassed object of QTableView. I’ve verified that the index that I’m sending it is a valid QModelIndex.
Is there an issue with accessing or working with databases in Qt 5 that might be the source of my error?
Thanks.
↧