Solved Qt 6.0 missed QtQuick.Dialogs in qml folder
-
Hi guys
I have small problem with Quick.Dialogs
Folder missed in C:\Qt\6.0.0\msvc2019_64\qml\QtQuick
but exists in C:\Qt\5.13.0\msvc2017_64\qml\QtQuick
Qt 6 updated to beta5
all checkbox are checked
maybe it's some problem with release?
thanks for any help)
-
-
thanks
yes, I found similar problem
https://bugreports.qt.io/browse/QTBUG-87473so I move my code from MessageDialog (QtQuick.Dialogs)
MessageDialog { id: mdMain title: "title" icon: StandardIcon.Warning text: "text" standardButtons: StandardButton.Ok | StandardButton.Cancel onAccepted: doIt() }
to Dialog (QtQuick.Controls)
Dialog { id: mdMain title: "title" property alias text: ltModal.text contentItem: LargeText { id: ltModal text: "text" } modal: true standardButtons: Dialog.Ok | Dialog.Cancel onAccepted: doIt(); }
hope it works)
@koahnig thank for direction ;) -
Given that
QtQuick.Dialogs
is not in Qt 6, is there a replacement forFileDialog
? -
-
@Galbarad Thank you. I have never really understood the status of the
Qt.labs.platform
stuff so have tended to avoid it. It feels like it is something experimental that is not properly supported! -
@Bob64 you are right)
https://doc.qt.io/qt-5/qtlabsplatform-index.html