Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.2.12, 6.5.6, 6.7.2
-
-
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
- The reference to QtAndroid::androidActivity() in https://doc.qt.io/qt-6/android-services.html#start-a-service-on-demand needs to be updated.
- The references to QtAndroid::androidActivity() in https://doc.qt.io/qt-6/qtandroidprivate.html need to be updated.
- https://doc.qt.io/qt-6/extras-changes-qt6.html#changes-to-qt-android-extras needs to explain what options users have for porting https://doc.qt.io/qt-5/android-services.html to Qt 6.
Attachments
Issue Links
- replaces
-
QTBUG-125468 Qt for Android Services Documentation is out of date
- Closed