QTableView not showing all of the data from an SQLite database QTableView not showing all of the data from an SQLite database sqlite sqlite

QTableView not showing all of the data from an SQLite database


It turned out Qt's SQLite driver inserts rows into the model in steps of 256 rows. I had to fetch all of the results with fetchMore().

while(model->canFetchMore()) model->fetchMore();

See Here and here.