Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14043

QtSvgRenderer fails to load CSS if SVG has relative path to CSS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 4.7.0
    • SVG Support
    • None
    • WinXP Sp3

    Description

      If my svg uses relative path for CSS, the css does not load.
      Copy the two attachments in the same folder and open the SVG using QtSvgRenderer

      If I use absolute path, then it works.

      Relative paths work well in other browsers like Firefox.

      Attachments

        1. failed1.svg
          1 kB
        2. mystyle.css
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            chetankjain chetankjain
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes