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

SVG file not rendered when using svg:use with svg:symbol

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.3.2
    • SVG Support
    • None
    • All

    Description

      SVG rendering fails when it contains the svg:use tag that target a svg:symbol tag.

      In the given example, the circle symbol are missing in rendered image.

      We get the following error message

      qt.svg: link #myDot is undefined!
      qt.svg: link #myDot is undefined!
      qt.svg: link #myDot is undefined!
      qt.svg: link #myDot is undefined!
      qt.svg: link #myDot is undefined!

      Attachments

        1. CMakeLists.txt
          0.4 kB
        2. main.cpp
          0.3 kB
        3. test2.svg
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            troopa81 Julien Cabieces
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes