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
          Zoltan Lutor
        2. extraBlackHole.svg
          2 kB
          Zoltan Lutor
        3. extraFreeze.svg
          9 kB
          Zoltan Lutor
        4. extraGrenade.svg
          1 kB
          Zoltan Lutor
        5. extraGrenade-OK.svg
          1 kB
          Zoltan Lutor
        6. extraPoison.svg
          4 kB
          Zoltan Lutor
        7. extraShock.svg
          0.6 kB
          Zoltan Lutor
        8. extraTime.svg
          1 kB
          Zoltan Lutor
        9. extraWind.svg
          3 kB
          Zoltan Lutor
        10. linux.jpg
          795 kB
          Oleg Yadrov
        11. mac-gimp-import.png
          101 kB
          Oleg Yadrov
        12. selectChapter.svg
          29 kB
          Zoltan Lutor
        13. svg problem.png
          70 kB
          Zoltan Lutor
        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