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. Displaying formatted html in a Qt application
Forum Updated to NodeBB v4.3 + New Features

Displaying formatted html in a Qt application

Scheduled Pinned Locked Moved General and Desktop
qt html
2 Posts 2 Posters 638 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    I am trying to show a piece of formatted html using Qt but I found that many tags are not supported. I am setting html content to a QTextBrowser) .Is there a way I can format my html with things like title sizes ,tables and apply css configuration to the shown content within a QTextBrowser?

    Thank you for your time.

    Why join the navy if you can be a pirate?-Steve Jobs

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Not sure QTextBrowser support that many formatting tags.

      Maybe you can use the webkit ?

      Please see this thread:

      https://forum.qt.io/topic/1864/how-good-is-the-html-and-css-support-in-qtextbrowser/2

      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