Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Segmentation fault with SQL objects in Qt 5, not in 4

$
0
0
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.

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>