Hi,

thanks for your quick reply!

Quote Originally Posted by wysota View Post
Not every "data" is a QObject. The model itself belongs to the main thread but it doesn't mean data for it can't be prepared in another thread. So where does the thread fit in?
I'm not completely sure, but I would pass a reference of the QAbstractItemModel from the "main thread" to the "data preparing" thread. This thread (the latter) in turn adds QModelindex objects (as they contain the internal void* pointer) by value to e. g. the setData()-method of that model.

Could it work that way?

Best regards,
Rainer