Application Continues in Background , even When Gui is closed with [X]
Qt Creator and other tools
3
Posts
2
Posters
928
Views
1
Watching
-
My Application calls various function depending on if else conditions...If i close the application with X button of the window...the Gui disappears , but the process continues unless the condition is false....So how to i terminate the whole process with X button ??
-
Connect QWidget::closed() with QApplication::quit().
-
Ya thanks :) ...i used QCloseEvent and its done