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
Forum Updated to NodeBB v4.3 + New Features

QML, XML and TXT

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
9 Posts 4 Posters 760 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 14 Jul 2020, 11:28 last edited by
    #1

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

    J 1 Reply Last reply 14 Jul 2020, 11:31
    0
    • V vinay achar
      14 Jul 2020, 11:28

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

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 14 Jul 2020, 11:31 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 14 Jul 2020, 11:46 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 J 2 Replies Last reply 14 Jul 2020, 11:50
        0
        • V vinay achar
          14 Jul 2020, 11:46

          @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 Offline
          J Offline
          J.Hilk
          Moderators
          wrote on 14 Jul 2020, 11:50 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
            14 Jul 2020, 11:46

            @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 Offline
            J Offline
            JonB
            wrote on 14 Jul 2020, 11:57 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 14 Jul 2020, 12:08 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 .

              J 1 Reply Last reply 14 Jul 2020, 12:27
              0
              • V vinay achar
                14 Jul 2020, 12:08

                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 .

                J Offline
                J Offline
                JonB
                wrote on 14 Jul 2020, 12:27 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 14 Jul 2020, 12:34 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
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 14 Jul 2020, 18:37 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

                    1/9

                    14 Jul 2020, 11:28

                    • Login

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