From e9ad3352df0815761c1fde8ea36b040e8431f360 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Fri, 20 Mar 2020 10:41:24 +0200 Subject: Docs: recommend to use QtQuickControls 2 Dialog on Android Fixes: QTBUG-82781 Change-Id: I98bb77d9118d05b16235cc1107d6e7a74b70fc65 Reviewed-by: Andy Shaw --- src/dialogs/qquickdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialogs/qquickdialog.cpp b/src/dialogs/qquickdialog.cpp index 4ccc0f9d..eeb9cda8 100644 --- a/src/dialogs/qquickdialog.cpp +++ b/src/dialogs/qquickdialog.cpp @@ -56,6 +56,8 @@ QT_BEGIN_NAMESPACE The purpose of Dialog is to wrap arbitrary content into a \e {dialog window} including a row of platform-tailored buttons. + \note On Android, it is recommended to use \l {QQuickDialog}{Qt Quick Controls 2 Dialog}. + The \l contentItem is the default property (the only allowed child element), and items declared inside the Dialog will actually be children of another Item inside the \c contentItem. The row of \l standardButtons will -- cgit v1.2.1