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

List:       pykde
Subject:    [PyKDE] SIP snapshot issue
From:       Fredrik Juhlin <laz () strakt ! com>
Date:       2004-12-06 16:14:28
Message-ID: 200412061714.28580.laz () strakt ! com
[Download RAW message or body]

Hi,

Trying to use the latest SIP snapshot I ran into trouble with some 
pyuic-generated code. It seems that it will at times generate code such as:
        self.TextLabel2.setSizePolicy(QSizePolicy(0,5,0,0,self.TextLabel2.sizePolicy().hasHeightForWidth()))
 which results in the error:
TypeError: too many arguments to QSizePolicy(), 0 at most expected

My wild guess was that this is an effect of the new typedef code that is 
mentioned in the changelog. I tried using the latest PyQt snapshot to see if 
that sorted things out, but it didn't.

I just wanted to give a heads up in case this wasn't a known issue.

//Fredrik

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


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

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