MForceOne
11th March 2010, 19:30
Hi,
I want to use QGraphicsTextItem and want to speed up the creation/rendering process in order not to slow down the GUI as much as possible.
So I am wondering if it is possible to create QTextDocument in a separate thread. This will get the expensive layout operations off the GUI thread. Once QTextDocument is created I was thinking to set it on the QGraphicsTextItem.
Does anyone have some ideas if that is the right way or how I can achieve to have the rendering for QGraphicsTextItem in a separate thread?
Thanks for your help.
M.
I want to use QGraphicsTextItem and want to speed up the creation/rendering process in order not to slow down the GUI as much as possible.
So I am wondering if it is possible to create QTextDocument in a separate thread. This will get the expensive layout operations off the GUI thread. Once QTextDocument is created I was thinking to set it on the QGraphicsTextItem.
Does anyone have some ideas if that is the right way or how I can achieve to have the rendering for QGraphicsTextItem in a separate thread?
Thanks for your help.
M.