How can I close an application when I have an object created inside the main
method, where the main thread is, but the exit
method I want to call is within the class of the created object.
I used these but it doesn't work:
qApp->exit(0);
QApplication::exit(0);
My application is debugged on linux, using gdb. I want to kill all inferiors... stop application.