Quote Originally Posted by TorAn View Post
I disagree, it has everything to do with Qt being a cross-platform framework.
It is, but it is not changing how operating systems work.
It is just part of processes on these operating systems.

Quote Originally Posted by TorAn View Post
Trapping the signals was not my first choice, I thought that "aboutToQuit" signal will be fired, and it is not, at least in the code sample that I published.
Are you sure it is not fired when the application quits?

Have you called QCoreApplication::quit() and the signal did not get emitted?

Quote Originally Posted by TorAn View Post
Why in this case, when I am closing the console window by clicking on "x", the aboutToQuit signal is not fired?
Apparently the process is killed, no?
How would the process execute code when that happens?

Cheers,
_