[PyQt] Custom QQuickWindow crashes when created from QML with PyQt 5.8/Qt 5.8

Phil Thompson phil at riverbankcomputing.com
Fri Mar 2 11:35:56 GMT 2018


On 28 Feb 2018, at 2:20 pm, Cody Scott <cody at perspexis.com> wrote:
> 
> This works with PyQt5==5.10 but does not work with PyQt5==5.10.1
> https://www.riverbankcomputing.com/pipermail/pyqt/2017-February/038875.html
> 
> I believe this fix may have been reverted to fix the QML examples.
> 
> https://www.riverbankcomputing.com/pipermail/pyqt/2018-January/039989.html

This should be fixed in tonight's snapshot.

*Please* test with a more realistic example.

Phil

> On Fri, Feb 24, 2017 at 11:27 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
> On 20 Feb 2017, at 4:33 pm, Arjen Hiemstra <a.hiemstra at ultimaker.com> wrote:
> >
> > Hi,
> >
> > I have attached a minimal test case that crashes when run. The code exposes a
> > custom QQuickWindow subclass to QML, then uses QML to instantiate it. I have
> > also attached a C++ file which does the same thing as the Python code, but does
> > not crash. The same code also works fine when run with PyQt 5.7.1/Qt 5.7.
> 
> Should be fixed in tonight's snapshot. The problem was caused by a change in the Qml internals in Qt v5.8.0. I'd recommend people test as much as possible in case there are other similar issues.
> 
> Thanks,
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list