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

SVG images do not show properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.7.1
    • Fix Version/s: 5.12.2, 5.14.0 Alpha
    • Component/s: SVG Support
    • Labels:
      None
    • Environment:
      Windows 7, Android
    • Commits:
      dcc4e2c4d96a6ad1447b9fb679afca21bb381218 (qt/qtsvg/5.12)

      Description

      Displaying attached svg - except extraShock.svg, that is OK - files do not appear properly - even though all files are displayed OK in e.g. Chrome, Firefox, IE browsers...

      In QML, only black thing is visible - see "svg problem.png" attached

      They are show in this form as well as attachment...

      Relevant QML code snippet:

      Item {
      property alias source : originalImage.source

      Image

      { id: originalImage anchors.fill: parent sourceSize.width: parent.width sourceSize.height: parent.height antialiasing: true }

      }

        Attachments

        1. extraArmageddon.svg
          0.9 kB
        2. extraBlackHole.svg
          2 kB
        3. extraFreeze.svg
          9 kB
        4. extraGrenade.svg
          1 kB
        5. extraGrenade-OK.svg
          1 kB
        6. extraPoison.svg
          4 kB
        7. extraShock.svg
          0.6 kB
        8. extraTime.svg
          1 kB
        9. extraWind.svg
          3 kB
        10. linux.jpg
          linux.jpg
          795 kB
        11. mac-gimp-import.png
          mac-gimp-import.png
          101 kB
        12. selectChapter.svg
          29 kB
        13. svg problem.png
          svg problem.png
          70 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zlutor Zoltan Lutor
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes