[PyQt] QtQuick ApplicationWindow

Fabien Castan fabcastan at gmail.com
Sat Nov 16 19:22:50 GMT 2013


Hi,

I'm trying to create a qtquick application using PyQt5.
I would like to use an ApplicationWindow as the top level item of my qml
file. To do that, I shouldn't use the QQuickView but directly QQmlComponent
as it's done here with a non-graphic example:
http://pyqt.sourceforge.net/Docs/PyQt5/qml.html

My sample code:
https://github.com/buttleofx/testsQml/tree/qmlApplicationWindow

But it crashes:
A
B
C
D
QObject::connect: Cannot connect (null)::destroyed(QObject*) to
QWindow::screenDestroyed(QObject*)
Erreur de segmentation (core dumped)

Same result if I use Window instead of ApplicationWindow.

Any idea?

Regards,
Fabien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20131116/db010917/attachment.html>


More information about the PyQt mailing list