QML, XML and TXT
-
Is there a any way to quick convert QML file to XML and TXT? in QT or otherwise.
-
Is there a any way to quick convert QML file to XML and TXT? in QT or otherwise.
@vinay-achar you could change the ending from .qml to .txt 🤷♂️
-
@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-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?
@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=4559Maybe helpful?
-
@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?
@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? -
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 .
-
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 .
@vinay-achar
As you please. I hope you won't have to (try to) translate XML into HTML.... -
yeah , i wont... but java script does that with XML file , so i need XML file of my QML file
-
Hi,
Are you trying to build your UI with Qt Quick, translate it to pure XML and then render that using QtWebEngine ?