Hi
From the Qt docs:
Regarding qApp->quit(), qApp->exit() etc:
Note that ... this function does return to the caller -- it is event processing that stops.
Therefore try this: First terminate the Qt event loop processing and then end the application with the exit() function from stdlib.h:
Qt Code:
#include <QCoreApplication> #include <stdlib.h> ... { exit(0); }To copy to clipboard, switch view to plain text mode
Regards
Ernst
Bookmarks