[Interest] Android: can QCoreApplication::exec() be terminated unexpectedly?
Alexander Dyagilev
alervdvcw at gmail.com
Sat Nov 30 13:38:37 CET 2019
Please note that this problem happens on a specific devices only. We
can't reproduce it on our Android smartphones.
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