Update QTableView with QSqlTableModel from background thread
General and Desktop
1
Posts
1
Posters
763
Views
1
Watching
-
wrote on 28 Oct 2013, 11:04 last edited by
is that possible?
Since the QSqlQuery used in the model has to be on the same thread always when used, I cannot just simply do a
@
QtConcurrent::run([=]{
model->select();
});
@
So I would have to move my model creation and preparation to a QThread probably?
1/1