Converting HTML to QML
-
wrote on 25 Feb 2015, 06:51 last edited by
Hello everybody,
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.Best regards.
-
wrote on 26 Feb 2015, 08:12 last edited by
I don't think so, but maybe I'm wrong :)
-
wrote on 3 Mar 2015, 22:30 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.
2/3