[PyQt] Re: Problem after upgrade to PyQt 4.6.2
phil at riverbankcomputing.com
Mon Nov 23 17:31:56 GMT 2009
On Mon, 23 Nov 2009 18:25:51 +0100, detlev <detlev at die-offenbachs.de>
> On Montag, 23. November 2009, Phil Thompson wrote:
>> On Mon, 23 Nov 2009 18:08:48 +0530, Prafulla Kiran
>> <prafulla at tachyontech.net> wrote:
>> > Hi Phil,
>> > The following piece of code throws up the error messages that Detlev
>> > has
>> > mentioned. Is there something wrong that I am doing here ?
>> > The same piece of code works fine in PyQt 4.5.* and 4.6.1
>> > from PyQt4 import QtCore
>> > settings_ = QtCore.QSettings("Foo", "Bar")
>> > qString = QtCore.QString("teamtalk.im")
>> > settings_.setValue("URL", QtCore.QVariant(qString))
>> > This throws up: /QVariant::save: unable to save type 256. /in PyQt
>> > 4.6.2
>> It's a SIP code generation bug - though why it has chosen now to make
>> itself known I don't know.
>> I've just released SIP v4.9.3 - that should fix it.
> Did you update the Windows installers as well? I had a few bug reports
> windows users that could have been caused by this issue.
More information about the PyQt