[PyQt] Mysterious type error: with example script now

Hans-Peter Jansen hpj at urpla.net
Sun May 14 13:11:33 BST 2017


On Sonntag, 14. Mai 2017 13:53:34 Hans-Peter Jansen wrote:
 
> It is slightly modified in order to test with Python2 as well...

Oops, forget about pyqtSlot, it's a test relic.

showData might be written as:

    @pyqtSlot('PyQt_PyObject')
    def showData(self, data):
        print('data', data, type(data))

but won't fix the issue, when used with dict types directly.

Pete


More information about the PyQt mailing list