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

QToolButton icons shows blurry (low-res) on Macbook Pro Retina display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.3.1
    • GUI: Look'n'Feel
    • None
    • Mac OS X 10.9.4, Qt 5.3.1 clang-64. MacbookPro with retina display
    • macOS

      Just a very simple QWidget based app. On a Macbook Pro with retina display, in QtCreator, I created a QToolButton on a widget. Then added a resource file called "icon@2x.png" as its icon. The png file is 80x80, I named it with "@2x" as required by Qt. I set the icon size for the QToolButton as 40x40. Everything looks fine in Qt Creator designer. The icon on the QToolButton looks nice and crispy clear on the retina display. But when I compile and run the app, the icon looks blurry in the actual running app. How could this happen?

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

            sorvig Morten Sørvig
            rushmore RushMore
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes