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

[REG: 6.7->6.8] SVG file mime type not recognized if the file contains xml header

    XMLWordPrintable

Details

    Description

      If the built-in Tika database is used, it says SVG files are are just xml files if the data contains <?xml version="1.0"?> header. They are now detected as application/xml instead of image/svg+xml like freedesktop does.

      Because of that difference, trying to load SVG data as icons ends up using QPixmapIconEngine engine now which does not render them in high resolution for high DPI displays.

      Attachments

        1. qtbug133221.tar.gz
          0.8 kB
          Joni Poikelin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cnn Qt Core & Network
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes