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

Pixelated QMovie on enabling High DPI Scaling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2
    • None
    • Windows

    Description

      I'm using the example given here: https://code.qt.io/cgit/qt/qtbase.git/tree/examples/widgets/widgets/movie?h=5.15

      For this project, if I enable High DPI scaling in main.cpp, the gif becomes pixelated.

      This is the line in main.cpp, that I used to enable High DPI scaling:

      QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

      Please refer to the attached images:

      PS: I also tried resizing the movie object (with high DPI scaling enabled), which also results in pixelation.

      movie->setScaledSize(QSize(64, 32));

      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
            bjohns Boney Johns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes