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. QML, XML and TXT
Qt 6.11 is out! See what's new in the release blog

QML, XML and TXT

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
9 Posts 4 Posters 1.6k 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.
  • V Offline
    V Offline
    vinay achar
    wrote on last edited by
    #1

    Is there a any way to quick convert QML file to XML and TXT? in QT or otherwise.

    J.HilkJ 1 Reply Last reply
    0
    • V vinay achar

      Is there a any way to quick convert QML file to XML and TXT? in QT or otherwise.

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @vinay-achar you could change the ending from .qml to .txt 🤷‍♂️


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • V Offline
        V Offline
        vinay achar
        wrote on last edited by
        #3

        @J-Hilk thanks for the response, but it isn't working , the qml file needs to be changed to XML which i can use it to display in HTML using QtwebEngine view Class, can you help me with that?

        J.HilkJ JonBJ 2 Replies Last reply
        0
        • V vinay achar

          @J-Hilk thanks for the response, but it isn't working , the qml file needs to be changed to XML which i can use it to display in HTML using QtwebEngine view Class, can you help me with that?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @vinay-achar I can't help you with that,

          However, a quick goggle search resulted in this:
          https://www.quickmacros.com/forum/showthread.php?tid=4559

          Maybe helpful?


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          1
          • V vinay achar

            @J-Hilk thanks for the response, but it isn't working , the qml file needs to be changed to XML which i can use it to display in HTML using QtwebEngine view Class, can you help me with that?

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @vinay-achar said in QML, XML and TXT:

            changed to XML which i can use it to display in HTML using QtwebEngine view Class,

            Are you sure/claiming QWebEngineView can display XML?

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vinay achar
              wrote on last edited by
              #6

              Hi @JonB it wont display in XML , it will help me to to display my designed UI in a browser as a webpage, for that i need to write some extra script in java script.

              But for now i need a XML and TXT file of my QML file .

              JonBJ 1 Reply Last reply
              0
              • V vinay achar

                Hi @JonB it wont display in XML , it will help me to to display my designed UI in a browser as a webpage, for that i need to write some extra script in java script.

                But for now i need a XML and TXT file of my QML file .

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #7

                @vinay-achar
                As you please. I hope you won't have to (try to) translate XML into HTML....

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  vinay achar
                  wrote on last edited by
                  #8

                  yeah , i wont... but java script does that with XML file , so i need XML file of my QML file

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

                    Hi,

                    Are you trying to build your UI with Qt Quick, translate it to pure XML and then render that using QtWebEngine ?

                    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

                    • Login

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