[PyQt] Crash setting property of QGesture

bootch at nc.rr.com bootch at nc.rr.com
Fri Jun 13 20:33:30 BST 2014


The code is:

self.simulatedGesture = QPinchGesture() # also tried (parent=self, state = Qt.GestureStarted)
self.simulatedGesture.pyqtConfigure(state=1)

At one point, I was getting an error on the console like 'pythond_d  assertion sip_can_convert_type ...tp & x00 == 0 ...'.  Thats from memory, as after I updated to the latest sip and pyqt, there is no message on the console, just a crash.

My environment is Ubuntu14.04, Python3.4, Qt5.2.1, latest sip and PyQt, although it might have been different and fubar at the time I was getting the error on the console.

Its not important, I can use other code.


More information about the PyQt mailing list