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

Different results on macOS and Windows/Linux with QGraphicsPixmapItem::setTransformationMode(Qt::SmoothTransformation) if scaling is under 1.

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11, Windows

      Description

      If QGraphicsPixmapItem::setTransformationMode(Qt::SmoothTransformation) is used with scaling under 1 the results are different on macOS and Windows.

      On Windows the example projects picture does not have smoothing and it get a bit clipped.

      On macOS the example projects picture is smooth and does not clip.

       

      In the example project please update the dialog.cpp's QString filename with the correct path.

        Attachments

        1. graphisview.zip
          19 kB
        2. qtbug81237_xcb.jpg
          qtbug81237_xcb.jpg
          43 kB
        3. qtbug81237.zip
          16 kB
        4. WindowsResult.JPG
          WindowsResult.JPG
          38 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              bibr Andreas Aardal Hanssen
              Reporter:
              tero.pelkonen Tero Pelkonen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes