[Solved] How does qApp->quit() works?
-
Greetings.
If I call qApp->quit() in buttonClikedSlot (connected to QPushButton::clicked signal) everything works fine. But if I call qApp->quit() in constructor or in main or in slot connected to QProcess::started signal, application doesn't quit. Why?
-
How was it solved? I have the same problem.
-
Hi,
in order to quit, the application must first start. So calling quit in a constructor called before exec() won't have any effect.