Try the following program, using PyQt 2.0, sip 2.0.1, qt 2.2.0, and Python
2.0b1:
import sys
from qt import *
point1 = QPoint(42,12)
parray = QPointArray([point1])
I get the following error:
[1] ackbar:~/fault-demo -> python test.py
Traceback (most recent call last):
File "test.py", line 5, in ?
parray = QPointArray([point1])
File "/home/jojo/install/x86-linux-glibc2.1/lib/python2.0/site-packages/qt.py", line
689, in __init__
libqtc.sipCallCtor(65,self,args)
AttributeError: 'QPoint' instance has no attribute '__int__'
I smelled a spelling error somewhere, but a grep on "__int__" in the PyQt
sources did not show anything.
--
/Jesper
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde