TypeError: unable to convert a QVariant of type 6 to a QMetaType of type 
12738896

I have that error message. I have python-defined class that provides a property 
as:

class X (QObject):
    ....
     xScale = pyqtProperty("double", getScaleX, setScaleX)

then Qt tries to update the property value using a QVariant. According to 
QMetaType.typeName(12738896) the type is "None", but this meta type number 
changes every time I run the script.

How can I fix this so either the conversion is not needed or it can happen? 

Thanks

Using PyQt 4.5.2-snapshot 


      
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to