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

High DPI icons are not scaled using smooth filtering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.2
    • GUI: Look'n'Feel
    • None
    • macOS

    Description

      1. Create a QPixmap from image
      2. Use setDevicePixelRatio(2.0) to signify this is a 2x (retina) pixmap
      3. Make an icon from pixmap and draw on a non-retina (pixel ratio 1.0) screen. Note that the pixmap has artifacts

      These artifacts appear to occur due to the use of the Qt::FastTransform when making the scaled pixmap. Possible solution: use Qt::SmoothTransform instead

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            qtuser20000 Qt Qt
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes