[Qt-interest] QGraphicsItem and Threads

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Tue Oct 20 11:02:42 CEST 2009


Ole wrote:

> From a modern GUI library I would expect to solve this problem. 

How? 

If every routine can be called on any thread, then they all have to have
locking of some sort, which makes everything too slow.  

Or do you want Qt to force you to do all of the locking yourself explicitly?


AFAIK Win32 allows GUI operations in any thread - but all the operations for
a given window must be done in the same thread.  I suspect all child windows
belonging to the same parent have to be in the same thread as well.  I
believe X is the same.  So I assume Qt is dumbed down to suit Mac OSX, or
maybe it is due to the extensive use of caches: fonts, images, etc. 

Tony. 





More information about the Qt-interest-old mailing list