[PyQt] Object ownership bug in QGraphicsScene::setStyle()

Max Schwarz Max at x-quadraht.de
Thu Aug 5 00:18:58 BST 2010


Small addition to my mail:

I found a hacky workaround:

if sip.ispyowned(style):
	print "Buggy PyQt4 version, enabling workaround..."
	sip.transferto(style, None)

Max


More information about the PyQt mailing list