Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt 6.0 missed QtQuick.Dialogs in qml folder
Forum Updated to NodeBB v4.3 + New Features

Qt 6.0 missed QtQuick.Dialogs in qml folder

Scheduled Pinned Locked Moved Solved QML and Qt Quick
7 Posts 3 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Galbarad
    wrote on last edited by
    #1

    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)
    fc5aae8b-9a3d-4e94-b27e-a3e087e66623-image.png

    K 1 Reply Last reply
    0
    • G Galbarad

      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)
      fc5aae8b-9a3d-4e94-b27e-a3e087e66623-image.png

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Galbarad

      I guess you have check on JIRA and the documentation of Qt 6 for changes.
      Possibly it is a bug and already reported or it may require reporting.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Galbarad
        wrote on last edited by
        #3

        thanks
        yes, I found similar problem
        https://bugreports.qt.io/browse/QTBUG-87473

        so 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 ;)

        1 Reply Last reply
        0
        • B Offline
          B Offline
          Bob64
          wrote on last edited by
          #4

          Given that QtQuick.Dialogs is not in Qt 6, is there a replacement for FileDialog?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Galbarad
            wrote on last edited by
            #5

            21d4c77d-976a-45c7-acc3-d572ed7e8eb3-image.png @Bob64 said in Qt 6.0 missed QtQuick.Dialogs in qml folder:

            FileDialog

            this?

            B 1 Reply Last reply
            0
            • G Galbarad

              21d4c77d-976a-45c7-acc3-d572ed7e8eb3-image.png @Bob64 said in Qt 6.0 missed QtQuick.Dialogs in qml folder:

              FileDialog

              this?

              B Offline
              B Offline
              Bob64
              wrote on last edited by
              #6

              @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!

              G 1 Reply Last reply
              0
              • B Bob64

                @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!

                G Offline
                G Offline
                Galbarad
                wrote on last edited by
                #7

                @Bob64 you are right)
                https://doc.qt.io/qt-5/qtlabsplatform-index.html

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved