[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QVariant misunderstandings
From:       Giovanni Bajo <rasky () develer ! com>
Date:       2009-11-25 16:02:57
Message-ID: 1259164977.6612.60.camel () lilax
[Download RAW message or body]

On Wed, 2009-11-25 at 14:56 +0000, Phil Thompson wrote:
> On Wed, 25 Nov 2009 15:44:25 +0100, Giovanni Bajo <rasky@develer.com>
> wrote:
> > 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).
> 
> That's the bug that was fixed with SIP 4.9.3.
> 
> You've either broken something or forgotten to rebuild PyQt.

Doh, my bad, it turned out I was using 4.9.2 in fact, and I hadn't
realized that there were two releases in a week.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic