QPainterPath multi-thread access
-
I'd like to use two threads:
- GUI thread uses const-only methods of QPainterPath object
- Second thread adds tens of thousands points to this objects
My GUI thread sometimes crushes while calling x.elementAt(i) or
x.elementCount() or while i'll trying to make deep-copy...If I use QMutex while accessing to object - all work nice, but slow ...
I'd like not to deep-copy object. Is it possible?