[PyQt] Bug in QRectF

David Lassonde David.Lassonde at autodesk.com
Fri Jul 24 14:16:38 BST 2009


Hi all,

the following does not work in PyQt 4.5.2:

from PyQt4.QtCore import QRectF
wrongRect = QRectF(0,0,0,3000) | QRectF(0,0,0,16)

The expected result is (0,0,0,3000) but I get (0,0,0,16).

it used to work in PyQt 4.4.3

As a workaround, I am now using my own "or" function.

I thought you might be interested in the information.

Cheers,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090724/227486a1/attachment.html


More information about the PyQt mailing list