[PyQt] Comparison of QPointF

Vincent Vande Vyvre vincent.vandevyvre at swing.be
Fri Mar 29 18:16:45 GMT 2013


Le 29/03/13 19:10, Phil Thompson a écrit :
> On Thu, 28 Mar 2013 12:10:37 +0100, Vincent Vande Vyvre
> <vincent.vandevyvre at swing.be> wrote:
>> Hi,
>> ...
> QPointF doesn't support the comparison you are trying to do. In Python2
> this falls back to a (useless) pointer comparison. In Python3 this
> (correctly) raises an exception.
>
> Phil
>
Ok, I see now.

Thanks

-- 
Vincent V.V.
Oqapy <https://launchpad.net/oqapy> . Qarte
<https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>


More information about the PyQt mailing list