<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I saw a post in the mailing list (<a href="http://www.riverbankcomputing.com/pipermail/pyqt/2014-December/035177.html">http://www.riverbankcomputing.com/pipermail/pyqt/2014-December/035177.html</a>) where it suggests that you could manually call sip.setdeleted() from the destroyed signal that is sent when a widget is destructed.<br><br></div>We are running into a similar issue so I tried to implement the above idea on widgets that are in memory but were not created by python. <br><br></div>When running our test suite, I started hitting "C/C++ object deleted" exceptions in completely unrelated places (Building designer widgets where on one line it would define a QFrame, then on the next line when it tried to use the QFrame, it would say the object was deleted, for example)<br><br></div>Could this be a case of the same memory being reused after an object is removed and sip not detecting that there is a new object in place of the old?<br><br></div>It seemed like a promising technique but it looks like we'll have to find another work around.<br><br></div>-- Wayne Rowcliffe<br></div>