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

SVG images do not show properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.2, 5.13.1, 5.14.0 Alpha
    • 5.7.1
    • SVG Support
    • None
    • Windows 7, Android
    • 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. extraPoison.svg
          4 kB
        6. extraShock.svg
          0.6 kB
        7. extraTime.svg
          1 kB
        8. extraWind.svg
          3 kB
        9. selectChapter.svg
          29 kB
        10. svg problem.png
          svg problem.png
          70 kB
        11. linux.jpg
          linux.jpg
          795 kB
        12. mac-gimp-import.png
          mac-gimp-import.png
          101 kB
        13. extraGrenade-OK.svg
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            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