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. module "QtQuick.Dialogs.qml" version 1.5 is not installed
Forum Updated to NodeBB v4.3 + New Features

module "QtQuick.Dialogs.qml" version 1.5 is not installed

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
17 Posts 4 Posters 4.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.
  • L Offline
    L Offline
    leon missoul
    wrote on last edited by
    #7

    Hi,

    Alright, I tested it, it happens with 1.1, 1.2, 1.3, 1.4, and 1.5.

    It does not give me an error with Dialogs version 1.0, but with this version, I get another error.
    When I use the component 'FileDialog', It says 'Unknown component'.

    Any idea why this is happening?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #8

      Sorry, my bad, I had mixed it with another module.

      From the current checklist it seems not to be there yet.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • L Offline
        L Offline
        leon missoul
        wrote on last edited by
        #9

        So, Dialogs is not yet included in version 6, if I understand right?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #10

          It's all explained in the page I linked.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • L Offline
            L Offline
            leon missoul
            wrote on last edited by
            #11

            First of all, Thank you so much for your help.

            I read through the link you sent.

            I kinda really need the FileDialog component.
            In the document, they explain that FileDialog is still part of Quick Controls 1. If I just import it, it doesn't work. I installed the last Qt 5, still the 'unknown component' error.

            In short: I am creating a small text editor and need to be able to import text files from my computer. How do I do this if FileDialog is not available?

            Thanks in advance.

            F 1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #12

              Might be a silly question but did you check whether it's an additional checkbox for you to select ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              L 1 Reply Last reply
              0
              • L Offline
                L Offline
                leon missoul
                wrote on last edited by
                #13

                If you mean a checkbox in the installation process, yes I have checked if there was one, I didn't found one so I just installed the whole Qt 5.15. But even then, nothing works.

                1 Reply Last reply
                0
                • SGaistS SGaist

                  Might be a silly question but did you check whether it's an additional checkbox for you to select ?

                  L Offline
                  L Offline
                  leon missoul
                  wrote on last edited by
                  #14

                  @SGaist Would you be able to help me?

                  I'd like to move on with my project.

                  Thanks for the help.

                  M 1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #15

                    Can you test this example ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • L leon missoul

                      @SGaist Would you be able to help me?

                      I'd like to move on with my project.

                      Thanks for the help.

                      M Offline
                      M Offline
                      MelonLemon
                      wrote on last edited by
                      #16

                      @leon-missoul import Qt.labs.platform 1.1

                      1 Reply Last reply
                      0
                      • L leon missoul

                        First of all, Thank you so much for your help.

                        I read through the link you sent.

                        I kinda really need the FileDialog component.
                        In the document, they explain that FileDialog is still part of Quick Controls 1. If I just import it, it doesn't work. I installed the last Qt 5, still the 'unknown component' error.

                        In short: I am creating a small text editor and need to be able to import text files from my computer. How do I do this if FileDialog is not available?

                        Thanks in advance.

                        F Offline
                        F Offline
                        FlashJack
                        wrote on last edited by FlashJack
                        #17

                        Hi @leon-missoul !
                        I was facing the same problem using Pyqt6 with the Qml application. I really needed a File Dialog.
                        After a hour of research and experimenting, I found the solution, its quite easy:

                        from PyQt6.QtWidgets import QFileDialog
                        
                        class YourClass():
                            ...
                            def your_function(self):
                                path_open =  QFileDialog.getOpenFileName(None, 'Open file')
                        
                                files_types = "GML (*.gml);;Pickle (*.pickle);;YAML (*.yml)"
                                path_save =  QFileDialog.getSaveFileName(None, 'Save file', filter=files_types)
                                ....
                        
                        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