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. Converting HTML to QML

Converting HTML to QML

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 5.2k Views
  • 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.
  • M Offline
    M Offline
    MasonWoo
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tarod.net
      wrote on last edited by
      #2

      I don't think so, but maybe I'm wrong :)

      "Individually, we are one drop. Together, we are an ocean."

      1 Reply Last reply
      0
      • timdayT Offline
        timdayT Offline
        timday
        wrote on last edited by
        #3

        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.

        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