Exit Application
Unsolved
General and Desktop
-
Hi friends,
I want to close Mainwindow when child window is closed i used signals and slots to communicate but it is not Exit. Can anybody tell how to exit Application When child widget closed.
-
inside the child widget header you can add the following
protected: virtual void closeEvent(QCloseEvent *event) override{qApp->quit();}