<div dir="ltr">Hi,<div>I'm trying to connect the QQuickView::closing(QQuickCloseEvent*) signal to a python slot, but cannot figure out how to be able to use the QQuickCloseEvent, nor import it?!?</div><div><br></div><div>TypeError: C++ type 'QQuickCloseEvent*' is not supported as a signal argument type<br></div><div><br></div><div>Is it possible to connect to event handler or how do I import this into Python (It's declared into QQuickWindow, which I import.</div><div><br></div><div>from PyQt5.QtQuick import QQuickView, QQuickWindow<br></div><div><br></div><div>Another question, can I connect a signal to an handler with less arguments? let say I drop the event into the handler like so:</div><div><br></div><div> def onClosing(self):<br></div><div>   # do stuff here</div><div><br></div><div>Thanks</div><div>Jerome</div></div>