[Interest] Android: can QCoreApplication::exec() be terminated unexpectedly?

Alexander Dyagilev alervdvcw at gmail.com
Sat Nov 30 13:41:37 CET 2019

Sorry, forgot to mention that i'm using 
QGuiApplication::setQuitOnLastWindowClosed(false). So Qt should not call 
quit for me... (as I was thinking).

On 11/30/2019 3:36 PM, Alexander Dyagilev wrote:
> Hello,
> It seems that my app "suffers" from unexpected terminating of 
> QCoreApplication::exec() event loop processing.
> I was always thinking that QCoreApplication::exec() terminates only if 
> one calls QCoreApplication::quit().
> But under Android it seems that either QCoreApplication::quit() is 
> somehow called by Qt itself (i.e. not by my code), or it's terminated 
> due to an unknown (for me) reason.
> I use QApplication for main activity process and QAndroidService for 
> service process. Don't know exactly inside what process this occurs.

More information about the Interest mailing list