Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Converting HTML to QML
MasonWoo last edited by
I have recently started new project converting HTML to QML.
Here is my question.
Is it exist converting open source from HTML to QML?
I'd like to get more information this converting.
tarod.net last edited by
I don't think so, but maybe I'm wrong :)
timday last edited by
I think this is an interesting topic. QML's Text element's "RichText" HTML subset is (IMHO) a bit weak more weak and limited than "content authors" could really use, but going to a full browser element (Qt WebKit/WebEngine) isn't an option on iOS apps (AFAIK). I could see an HTML-to-QML converter being quite useful to some folks. Interesting question of whether a preprocessor would be as good as a solution as a better QML Text element that was something somewhere between QML RichText Text and a full web engine. I suspect better CSS support is the main need and a significant complicating factor (simplest solution... just use a full-fat browser engine).
Somewhere out there, there is a FOSS tool which will export from photoshop to QML ( http://blog.qt.io/blog/2010/10/19/exporting-qml-from-photoshop-and-gimp/ ) and I've seen content author types resort to that to get the static layout they wanted into a QML Text+Images form.