diff options
| author | Nicholas Bennett <nicholas.bennett@qt.io> | 2024-09-23 13:59:03 +0300 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-09-25 08:38:51 +0000 |
| commit | 7b34aefeff090f578a5abc80611b9cb8715c01b5 (patch) | |
| tree | efc66436731abbdbbbac68e3a8fe69f0d53a575b | |
| parent | eebdb639d9a5db7dcf76f7ae00cdcac0dd07894c (diff) | |
Docs: Add known issue to QtQuickView Class docs
Added known issue section and linked to the QtQuick view doesn't handle
recreation of Activity bug.
Task-number: QTBUG-128925
Change-Id: Ic02a5b1972782f6f8f8377296c17034452a8a438
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
(cherry picked from commit fa4ee806b83224fd7c8836998ea43fecf55af0fc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 8a18eeeb6e5fb10eb84113c2eb597322e5b5900f)
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
| -rw-r--r-- | src/quick/platform/android/jar/src/org/qtproject/qt/android/QtQuickView.qdoc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/quick/platform/android/jar/src/org/qtproject/qt/android/QtQuickView.qdoc b/src/quick/platform/android/jar/src/org/qtproject/qt/android/QtQuickView.qdoc index bcc0b574a0..5239b531b9 100644 --- a/src/quick/platform/android/jar/src/org/qtproject/qt/android/QtQuickView.qdoc +++ b/src/quick/platform/android/jar/src/org/qtproject/qt/android/QtQuickView.qdoc @@ -78,6 +78,23 @@ For a more detailed example, see \l {QML in Android Studio Projects}. + \section1 Known issues + + Here are the known issues with this API. They may be resolved and removed in a patch + release. + + \section2 Activity recreation leads to an application crash + + \warning Activity recreation may lead to a crash. This is due to resources not being released + properly. + + Orientation and other configuration changes will recreate the Activity. + + See {https://bugreports.qt.io/browse/QTBUG-123711}{QTBUG-123711} for more information. + + See \l{QML in Android Studio Projects} for an example of how to handle rotation + manually inside an application without recreating the Activity. + \section1 QtQuickView in an Android Service It is also possible to add a QtQuickView from a Service context by using |
