[PyKDE] QSizePolicy error on Zaurus

Phil Thompson phil at riverbankcomputing.co.uk
Mon Jan 26 20:35:01 GMT 2004


On Monday 26 January 2004 1:26 pm, Torben M. Hansen wrote:
> When attempting to make a application for for my Zaurus SL-C750 using
> PyQt / Qt Designer, I get the following error:
>
> ---------------------------------------------------------------------------
>--------------------
> self.cbCB.setSizePolicy(QSizePolicy(4,0,0,0,self.cbCB.sizePolicy().hasHeigh
>tForWidth())
>
> TypeError: too many arguments to QSizePolicy(), 3 at most expected
> ---------------------------------------------------------------------------
>--------------------
>
> My version of Qt Designer is version 1.1 for Qt version 2.3.2 (Same
> result with 3.1 for 3.1.2)
> pyuic is version 3.8.1 for 3.1.2
>
> If the problem is pyuic, where do I get a suitable version?

You need to build a version of PyQt against Qt 2.3.2.

Phil




More information about the PyQt mailing list