Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57834

QtAndroid::runOnAndroidThread does not work in a service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.9.0 Beta 2
    • 5.10.0 Beta 4
    • Extras: Android
    • None
    • Qt 5.10 beta 4, latest Android sdk/ndk

      QtAndroid::runOnAndroidThread does nothing when used in a service process.

      This may not be a bug as such as the documentation talks about running in Android UI thread. But reporting as a bug since the Qt function name is more generic than that and it could work both in UI and service processes.

      Example project attached.

        1. servicetest.zip
          10 kB
          Heikki Haveri
        2. servicetest.zip
          9 kB
          Heikki Haveri
        3. service-toast.zip
          61 kB
          Vladimír Jícha
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            taipan BogDan Vatra
            heikki Heikki Haveri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes