Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Qt main thread frozen on android when app is in background

    Mobile and Embedded
    1
    1
    361
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AlterX last edited by

      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?

      Thanks

      Qt Ambassador
      Real-time cooperative teams: http://www.softairrealfight.net
      Free Real-time network platform sdk: https://github.com/AlterX76/Solomon

      https://codereview.qt-project.org/...

      1 Reply Last reply Reply Quote 0
      • First post
        Last post