Solved property "onClosing" is not present
-
I am using import QtQuick.Window 2.11 but i could not get onClosing property. It is Saying "Invalid Property name "onClosing""
Pls help. -
There is no such property in Window component.
There is a closing() signal, for which you can define an onClosing handler (slot):
Window { onClosing: console.log("Window is being closed") }
-
When you use something like the following QtCreator complains saying that inValid Property. Don't worry about. Use it & it works. onClosing :{ console.log("Closing it now") }
-
@sierdzio Thank you :)
-
@dheerendra Thank you :)
-
You can also move the issue to solved state.