Nominate our 2022 Qt Champions!

Qt main thread frozen on android when app is in background

  • Hello there...
    I have an app that is going in background using a service, the problem is that the main Qt thread goes sleeping and then is not able to execute any tasks till I put the app in foreground.
    A part of using a service with a native java thread (that is causing me loads of problems rewriting native C++ parts), is there a way to prevent Qt main thread (or a different way) from being frozen?


Log in to reply