I want to optimize my application concerning displaying the data coming from the server.
My application is using QXMPP classes and QML design.
The problem occurs when receiving a large amount of data from the xmpp server to display it on my QML view(inside a listView); The view freeze till the end of the data received from the xmpp server.
I think I should user QThread in my cpp class, but I have no idea how to use it in this case.

Anyone can help me concerning this issue?

Best Regards.