[PyQt] Bug in QRectF

Henrik Pauli henrik.pauli at gmail.com
Fri Jul 24 14:34:28 BST 2009


On Friday 24 July 2009 15:16:38 David Lassonde wrote:
> 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)

Are you sure you mean the bitwise or here? :)

>
> 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


More information about the PyQt mailing list