[PyQt] Problem with QVariant

Vicent Mas uvep at ono.com
Fri Apr 11 10:51:36 BST 2008


Hello,

I've recently upgraded from PyQt4.1.1 to 4.3.4-snapshot-20080408. Now, an 
application that worked fine with the older version fails when trying to save 
QColor or QFont values via QSettings.setValue method. In these cases the 
following is printed to console:

QVariant::save: unable to save type 64.
QVariant::save: unable to save type 67.
QVariant::save: unable to save type 67.
QVariant::save: unable to save type 67.

I've double checked that values passed to the method are correct. Moreover, 
any other kind of values (bool, int, strings...) are saved with no problems.

Are the errors caused by a PyQt bug?
-- 
::

	Share what you know, learn what you don't



More information about the PyQt mailing list