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 574 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.
  • Leo SchubertL Offline
    Leo SchubertL Offline
    Leo Schubert
    wrote on 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
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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

      • Login

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