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

QSvgWidget renders (some) images wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.3, 6.9.1
    • SVG Support
    • None
    • Linux/Wayland, Linux/X11, Windows

    Description

      At least some SVG images are rendered incorrectly. Open `svg_file.svg` in e.g. firefox. The image should look like a two headed arrow (<->). Now download `main.cpp` and `qt_svg_bug.pro`, open the project, compile it and start the executable . Select `svg_file.svg` in the file dialog. The image is displayed clearly incorrectly (compare with `qt_svg_bug.png`).

      I've not tried Qt versions other than 6.8.3 and 6.9.1.

      Attachments

        1. main.cpp
          0.4 kB
        2. qt_svg_bug.png
          qt_svg_bug.png
          15 kB
        3. qt_svg_bug.pro
          0.5 kB
        4. svg_file.svg
          69 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hatemelkharashy Hatem ElKharashy
            marcusle Marcus Leivo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes