Problem with exit or quit
I am using with library QApplication (QT 4.8 )
I ran my app from cmd, I didnt open any GUI window, only pure code.
After some interact with server the app needs to exit, so I call to qApp->quit(); (before i tried exit)
In some cases the app not exit and stays in the memory.
I tried to add #include <QCoreApplication> to my class where i call to quit.
This action decrease the occur of the problem but not fix it.
In all the situations I enter to slot aboutToQuit.
I have no idea what to do!!!!
Can you post some code? Where do you call qApp->quit()?