<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="FileOne" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">@detlev,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Super, that gives me some trust. I had such different and varying results with Qt5.4 and 5.5 (on different Linux platforms the most problems). I will go for Qt5.6 or when available Qt5.7.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<hr width="100%"/>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-weight:600;">From: </span>pyqt-request@riverbankcomputing.com<br /><span style=" font-weight:600;">To: </span>rembrand@daxlab.com<br /><span style=" font-weight:600;">Received at: </span>2016_Jun_23_11:15</p>
<hr width="100%"/>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br />Send PyQt mailing list submissions to</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> pyqt@riverbankcomputing.com</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">To subscribe or unsubscribe via the World Wide Web, visit</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> https://www.riverbankcomputing.com/mailman/listinfo/pyqt</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">or, via email, send a message with subject or body 'help' to</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> pyqt-request@riverbankcomputing.com</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">You can reach the person managing the list at</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> pyqt-owner@riverbankcomputing.com</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">When replying, please edit your Subject line so it is more specific</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">than "Re: Contents of PyQt digest..."</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Today's Topics:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> 1. WebEngineView Multi platform _Win, Lin, Mac_ desktop</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> experience (Rembrand at daxLAB)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> 2. Re: WebEngineView Multi platform _Win, Lin, Mac_ desktop</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> experience (Detlev Offenbach)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> 3. Re: Issue with PyQt5.6 wheel on OS X with QGraphicsItemGroup</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> addToGroup (Nick)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">----------------------------------------------------------------------</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Message: 1</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Date: Mon, 20 Jun 2016 18:31:15 +0200</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">From: Rembrand at daxLAB<rembrand@daxlab.com></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">To: PyQt mailing list <pyqt@riverbankcomputing.com></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Subject: [PyQt] WebEngineView Multi platform _Win, Lin, Mac_ desktop</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> experience</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Message-ID: <FileOneMail_51144_20160620183112823612@daxlab.com></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Content-Type: text/plain; charset="utf-8"</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Dear all,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Can I replace my QWebView (from WebKit) safely with QWebEngineView when I want my application to run on Windows, Linux and Mac OSX?</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">I'm asking since I had a hard time to get it stable/or even running on all 3 platforms with Qt 5.5.1. </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Is anybody out there with experience on one or all mentioned platforms. I also got the feeling that there are a lot more dependencies involved (not always available on vanila test/targetes user systems).</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">-------------- next part --------------</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">An HTML attachment was scrubbed...</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160620/77b4d08f/attachment-0001.html></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">------------------------------</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Message: 2</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Date: Mon, 20 Jun 2016 18:59:11 +0200</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">From: Detlev Offenbach <detlev@die-offenbachs.de></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">To: pyqt@riverbankcomputing.com, Rembrand at daxLAB</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> <rembrand@daxlab.com></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Subject: Re: [PyQt] WebEngineView Multi platform _Win, Lin, Mac_</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> desktop experience</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Message-ID: <2418187.Ad0QHQJ6dl@saturn></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Content-Type: text/plain; charset="utf-8"</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Hi,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">the eric6 web browser has already be ported to QWebEngine (eric software repository, </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">default branch). It works quite fine on all these platforms with Qt 5.6. Before that the </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">QWebEngine widgets are really limited in functionality. The only platform I had issues was </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">(and still is) Qt 5.6 on Arm Linux (ODroid XU4).</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Detlev</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">On Monday 20 June 2016, 18:31:15 Rembrand at daxLAB wrote:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Dear all,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Can I replace my QWebView (from WebKit) safely with QWebEngineView when I</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> want my application to run on Windows, Linux and Mac OSX? I'm asking since</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> I had a hard time to get it stable/or even running on all 3 platforms with</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Qt 5.5.1.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Is anybody out there with experience on one or all mentioned platforms. I</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> also got the feeling that there are a lot more dependencies involved (not</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> always available on vanila test/targetes user systems).-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">*Detlev Offenbach*</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">detlev@die-offenbachs.de</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">-------------- next part --------------</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">An HTML attachment was scrubbed...</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160620/2a1a5c58/attachment-0001.html></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">------------------------------</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Message: 3</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Date: Mon, 20 Jun 2016 13:25:03 -0400</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">From: Nick <a.grinner@gmail.com></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">To: pyqt@riverbankcomputing.com</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Subject: Re: [PyQt] Issue with PyQt5.6 wheel on OS X with</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> QGraphicsItemGroup addToGroup</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Message-ID:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> <CAMCN4CnjSMwxX3L_19z4VnvMhZ=+jmB+6iBH=6fY4WKbqenPTA@mail.gmail.com></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Content-Type: text/plain; charset="utf-8"</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">I've reproduced this bug also on Windows x64 in PyQt 5.6. It is related to</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">subclassed QGraphicsItems who have `itemChange()` implemented. Here is the</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">code that reproduces the bug I see and that produces different results in</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">PyQt5.5.1 and prior (and worked in PyQt4 as well for what it's worth) with</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">and without itemChange() implemented in the subclass. Output appears at</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">the bottom.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">from PyQt5.QtWidgets import QGraphicsItem, QGraphicsRectItem,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">QGraphicsItemGroup</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">class MyItemGroup(QGraphicsItemGroup):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> def __init__(self, parent=None):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> super(MyItemGroup, self).__init__(parent)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> def __repr__(self):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> return str(type(self).__name__)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">class MyRectItemNOIC(QGraphicsRectItem):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> def __init__(self, parent=None):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> super(MyRectItemNOIC, self).__init__(parent)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> def __repr__(self):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> return str(type(self).__name__)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">class MyRectItem(QGraphicsRectItem):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> def __init__(self, parent=None):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> super(MyRectItem, self).__init__(parent)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> def __repr__(self):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> return str(type(self).__name__)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> def itemChange(self, change, value):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> return QGraphicsRectItem.itemChange(self, change, value)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">if __name__ == '__main__':</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> a = MyRectItem()</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> b = MyRectItem(a)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> item_group = MyItemGroup()</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> print("parent:", b.parentItem())</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> item_group.addToGroup(b)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> print(item_group.childItems(), b.parentItem())</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> c = MyRectItemNOIC(a)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> print("\nparent NOIC:", c.parentItem())</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> item_group.addToGroup(c)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"> print(item_group.childItems(), c.parentItem())</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Output:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">parent: MyRectItem</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">[] None</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">parent NOIC: MyRectItem</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">[MyRectItemNOIC] MyItemGroup</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">On Thu, Jun 16, 2016 at 2:25 PM, Nick <a.grinner@gmail.com> wrote:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> I've compared PyQt-gpl-5.5.1-snapshot-13f9ece29d02 code with the PyQt-gpl-5.6</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> code and see no difference nor in the Qt 5.3 and 5.6 qgraphicsitem.cpp.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Could this be a sip regression I'm seeing?</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> In general everything about the 5.6.x builds and execution seems normal in</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> my code except this addToGroup issue I see with custom objects.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> the problem persists in PyQt-gpl-5.6.1-snapshot as well when I build from</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> source.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> In summary on OS X:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Python 3.5 with PyQt5.5.1 works</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Python 3.5 with PyQt5.6.1-snapshot fails to addToGroup()</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Python 3.5 with PyQt5.6.0 fails</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> Python 3.4 with PyQt5.5.1 works</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> I can work on a simple case reproduction if that helps as well.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> -Nick</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">> On Wed, Jun 15, 2016 at 7:41 PM, Nick <a.grinner@gmail.com> wrote:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>> Actually my code works as of a build of</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>> PyQt-gpl-5.5.1-snapshot-13f9ece29d02</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>> Thanks,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>> -Nick</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>> On Wed, Jun 15, 2016 at 7:29 PM, Nick <a.grinner@gmail.com> wrote:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> I have working code that I can run in a self built PyQt5.3 build that</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> ceases to work in the wheel from pypi of PyQt5.6 for OS X. Specifically</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> addToGroup() fails. Did something change in the Qt5.x or PyQt5.x source</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> from 5.3 to 5.6 related to this that anyone is aware of?</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> In 5.6 when I call addToGroup of subclassed QGraphicsItem, the</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> parentItem of the Item becomes None and therefore calls to</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> group.childItems() return an empty list, whereas with no code changes in</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> the 5.3 I built the calls behave as intended.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> I have not yet tested on Windows.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> Thanks,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>> -Nick</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">>></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">-------------- next part --------------</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">An HTML attachment was scrubbed...</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160620/52e9c73f/attachment-0001.html></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">------------------------------</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">Subject: Digest Footer</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">_______________________________________________</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">PyQt mailing list</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">PyQt@riverbankcomputing.com</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">------------------------------</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">End of PyQt Digest, Vol 143, Issue 24</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;">*************************************</p></body></html>