Unsolved aboutToQuit signal for QGuiApplication
Do we have any mechanism to simulate QGuiApplication to emit "aboutToQuit" signal.
I want to do something when the application is about to quit.
Just connect to aboutToQuit() signal. What do you mean by "simulate"? You can trigger that signal by simply clicking "x" on your main window.
@inforathinam QGuiApplication has this signal because it is derived from QCoreApplication