[PyQt] Error when converting QVariant back to Python object

Baz Walter bazwal at ftml.net
Thu May 27 18:44:59 BST 2010


when i connect a handler to the SCN_MODIFIED signal in QScintilla-2.4.3 
i see the following error:

     TypeError: unable to convert a QVariant back to a Python object

i've tried setting sip.setapi('QVariant', 2), but to no avail.

this is using: gcc 4.4.1, python 2.6.4, qt 4.6.2, sip 4.10, pyqt 4.7, 
qsci 2.4.3

i don't see the error when using: gcc 4.4.1, python 2.6.4, qt 4.5.3, sip 
4.9.1, pyqt 4.6.1, qsci 2.4


More information about the PyQt mailing list