[PyQt] Crash after deletelater in scene

Zhao Lee redstone-cold at 163.com
Sat Aug 6 09:11:41 BST 2016

make sure your graphicsitem (actually a graphicsobject) won't be used or referenced anymore by other code before you deletelater() it

在2016年08月06 13时42分, "oliver"<oliver.schoenborn at gmail.com>写道:

Does anyone have tricks to share to identify the cause of puqt app crash after calling deleteLater on a graphicsitem (actually a graphicsobject), after having removed it from the scene. If we don't call deletelater after removeItem, it works better temporarily, but eventually does crash (and it looks like the removed item got painted after removal!).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160806/df2b2e69/attachment.html>

More information about the PyQt mailing list