Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Model with threads to retrieve data.
linuxkid last edited by
Got a question regarding threads after reading the introductory of qt.io
I've got a class subclassing QThread that receives a QVector<QString> in the constructor, works with it in the run() method and emits a signal with the results
on the other side, I've got a model, who is the owner of the QThread-derived class
It receives the data, and then copies the data received into the original object that was passed as parameter for the thread's constructor
So far, so good, BUT when I click on the QTableView that holds the model, it crashes
If I don't, I get to see the information displaying pretty much properly
May I show the source?
Code would help.
And do you see any error messages when your app crashes? Did you try to debug?