Hi Phil, I must say I have not quite followed up all the developments wrt QVariant. I'm using Python 2 and thus the QVariant v1 API.
Shouldn't the following work as intuitevely expected? >>> from PyQt4.Qt import * >>> a = QString("ciao") >>> QVariant(a).toString() PyQt4.QtCore.QString(u'') >>> QVariant(a).type() 127 Why should a plain QString be inserted within the QVariant as a custom type? I'm using SIP 4.9.3 and PyQt 4.6.2 (unless I've broken something with my internal merges). -- Giovanni Bajo Develer S.r.l. http://www.develer.com _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt