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. [solved] Image loaded from resource file using img html tag in TextEdit element
Forum Update on Monday, May 27th 2025

[solved] Image loaded from resource file using img html tag in TextEdit element

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 3.5k 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.
  • M Offline
    M Offline
    MichK
    wrote on 15 Aug 2011, 09:14 last edited by
    #1

    In my application I load QML files from resource file.

    Is it possible to show images stored in resource file in TextEdit element using img html tag?
    If so how should path to the image look like?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MichK
      wrote on 15 Aug 2011, 10:00 last edited by
      #2

      Hmm..
      Ok, I can see "that":http://doc.qt.nokia.com/latest/resources.html all I need is adding a colon ":" before resource file path.

      1 Reply Last reply
      0

      2/2

      15 Aug 2011, 10:00

      • 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