[PyKDE] QPointArray error message

Jesper Eskilson jojo at virtutech.se
Thu Sep 21 20:27:31 BST 2000

Phil Thompson <phil at river-bank.demon.co.uk> writes:

> The QPointArray ctor takes a list of points expressed as integers - not
> a list of QPoints. The code is trying to convert a QPoint to a single
> integer which it (correctly) can't do because QPoint does not have an
> __int__ method.

The documentation could be a *little* clearer on this point.

Also, I would love to get a little more information when receiving a
type-error from PyQt. Currently I have to guess which parameter caused a
type error and what was actually expected.


More information about the PyQt mailing list