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. Access HTML metaInformation from QML Text?
Forum Updated to NodeBB v4.3 + New Features

Access HTML metaInformation from QML Text?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 177 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.
  • P Offline
    P Offline
    pderocco
    wrote on last edited by
    #1

    The QML Text page references the Supported HTML Subset page, which says that the contents of a <title> element can be obtained with QTextDocument::metaInformation(), but of course that's for C++. Is there any way to get at that in QML, when using a Text object with textFormat set to Text.RichText? If there is, it's not documented, but there are other things that aren't documented, such as support for <style> elements, so I'm hoping there is a way to do this.

    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