[PyQt] Error in QTextBrowser.cursorRect()

Florian Bruhin me at the-compiler.org
Thu Aug 4 21:21:30 BST 2016


* Ryan Ofarrell <john.ofarrell at ansys.com> [2016-08-04 14:58:01 -0500]:
> PyQt4.QtCore.QRect(0, 0, 1, 10)

Have you tried if things are looking better with (Py)Qt5?
Qt4 is old and unmaintained since December 2015.

> In conclusion cursorRect() appears to be broken for QTextBrowser. Could you
> please tell me what I am doing wrong or fix this issue.

PyQt just is a wrapper over Qt, QTextBrowser (or almost all other PyQt
classes) are not implemented by PyQt, but by Qt.

If you see the same with Qt5, I suggest you open a bug here:
https://bugreports.qt.io/

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160804/5263bac1/attachment.sig>


More information about the PyQt mailing list