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

Alexander Dyagilev alervdvcw at gmail.com
Sat Nov 30 13:36:03 CET 2019


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