Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTextEdit html4 to html5 conversion
QtWS25 Last Chance

QTextEdit html4 to html5 conversion

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 553 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.
  • L Offline
    L Offline
    Leo Schubert
    wrote on 20 Dec 2017, 18:25 last edited by
    #1

    Hi, we used the QTextEdit widget in the past to give our customers a richtext/html4 editing control.
    Now we want to move this editor using Qt web engine and html5, and we need to provide a migration for the QTextEdit created documents (saved in html4) to html5.
    Any hints on how to export/convert the html4 docs to html5 with Qt ?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 20 Dec 2017, 19:13 last edited by
      #2

      Hi
      I think the rich text used in QTextEdit is still functional in HTML5
      http://doc.qt.io/qt-5/richtext-html-subset.html

      https://stackoverflow.com/questions/134727/whats-the-key-difference-between-html-4-and-html-5

      However it seems some elements dropped – center, font, strike
      but if that will issue is hard to say.

      1 Reply Last reply
      1

      2/2

      20 Dec 2017, 19:13

      • Login

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