[Interest] Qt 5.5.1 - Android - applicationStateChanged is reported wrong on first run

Nuno Santos nunosantos at imaginando.pt
Mon Nov 9 13:22:48 CET 2015


Hi,

This weekend I have been faced with a problem and I would like to share it with you before submitting a bug report. 

My apps relies on QtGuiApplication applicationStateChanged to start and stop some services when the app is active, inactive, suspended, etc

It happens that, on the first run, with Qt 5.5.1, the ApplicationState is a mean less int number, when it should have the value 4, for Active. It took me a while to figure out that this was being caused by Qt 5.5.1. Using Qt 5.4.2 this doesn’t happen. I had to get back Qt 5.4.1 on Android and I still need to ensure this is not happening on iOS.

Has anyone experienced the same problem?

Regards,

Nuno


More information about the Interest mailing list