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

Outdated Android docs still refer to QtAndroid::androidActivity()

    XMLWordPrintable

Details

    • Android
    • 220e8e585 (dev), a4878cb00 (6.8), 5d611629c (6.7), 8081c470a (tqtc/lts-6.5), 91f70771a (dev), 3d1bb9429 (tqtc/lts-6.2), 887076220 (6.8), 16e270b10 (6.7), a4096554c (tqtc/lts-6.5), 30e467e71 (tqtc/lts-6.2)

    Description

      https://doc.qt.io/qt-6/android-services.html#start-a-service-on-demand refers to QtAndroid::androidActivity()

       

      Problem 1: The "QtAndroid" namespace no longer exists in Qt 6

      It used to be at https://doc.qt.io/qt-5/qtandroid.html#androidActivity

      Some compatibility enums/functions are currently offered under "QtAndroidPrivate": https://doc.qt.io/qt-6/qtandroidprivate.html

       

      Problem 2: The "androidActivity()" function no longer exists in Qt 6

      Both https://doc.qt.io/qt-6/android-services.html#start-a-service-on-demand and https://doc.qt.io/qt-6/qtandroidprivate.html still refer to "androidActivity()". This function no longer exists.

       

      Changes needed

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              shpremna Shyamnath Premnadh
              skoh-qt Sze Howe Koh
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: