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. [Solved] Qsvgrenderer problems to load a SVG on resource...
Forum Updated to NodeBB v4.3 + New Features

[Solved] Qsvgrenderer problems to load a SVG on resource...

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.8k 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.
  • D Offline
    D Offline
    dcbasso
    wrote on last edited by
    #1

    I make some changes on my project, I add all svg imagens to resource file and now I'm trying to load this files in QWebView and QSvgRenderer, but the QSvgRenderer never find the imagens, the component could load the images...
    Any tip is wellcome.

    Thanks all,

    http://qt-project.org/doc/qt-4.8/qsvgrenderer.html

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dcbasso
      wrote on last edited by
      #2
      • it's not rendering the SVG!
      1 Reply Last reply
      0
      • napajejenunedk0N Offline
        napajejenunedk0N Offline
        napajejenunedk0
        wrote on last edited by
        #3

        Provide some code sample if it is possible.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dcbasso
          wrote on last edited by
          #4

          In webview I need to use "qrc:///..." on svg renderer ":/...".
          Now it's working.
          Thanks anyway.

          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