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

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

XMLWordPrintable

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

      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!

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes