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
Forum Updated to NodeBB v4.3 + New Features

QTextEdit html4 to html5 conversion

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 560 Views 1 Watching
  • 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

      1/2

      20 Dec 2017, 18:25

      • Login

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