[PyQt] QTextLayout.createLine crashes

Jérôme Laheurte jerome at jeromelaheurte.net
Mon Mar 27 13:41:25 BST 2017


> Le 27 mars 2017 à 14:28, Phil Thompson <phil at riverbankcomputing.com> a écrit :
> 
> On 27 Mar 2017, at 10:11 am, Jérôme Laheurte <jerome at jeromelaheurte.net <mailto:jerome at jeromelaheurte.net>> wrote:
>> 
>> Hello. This smells like a bug; I was « porting » the ElidedLabel sample when I stumbled upon it. The following code crashes with a SIGSEGV in createLine() (Qt/PyQt 5.8.1, mac OS 10.11.6):

> A C++ version seems to behave in the same way.

Ah, a Qt bug, not PyQt. I’ll file a bug report then. Thanks!

Best regards
Jérôme Laheurte

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170327/e8782a8e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170327/e8782a8e/attachment.sig>


More information about the PyQt mailing list