Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21606 Qt OS X Lion features
  3. QTBUG-23870

Mac OSX: HighDPI Display support

    XMLWordPrintable

Details

    • macOS

    Description

      Basic high-dpi support is now available for widgets and QML in Qt 4 and Qt 5.

      Update (Aug 27th 2012):
      Research on enabling HiDPI support on both Qt 4 and Qt 5 is underway. Short story is that anything that paints using CoreGraphics works well, but raster and opengl (as noted above) needs work. In practice this means that widgets on Qt 4 get HiDPI text, mac style, and QPainter vector output. Some additional work is needed to define how the points/pixels differentiation applies to Qt, especially with regards to images, pixmaps and icons.

      Update (Dec 12th 2012):
      Qt 4: Implementation work is underway in a separate repository: https://github.com/msorvig/qt4-hidpi
      Qt 5: Basic high-dpi support has been merged to Qt 5.0. Further work is in this branch: http://qt.gitorious.org/qt/qtbase/commits/highdpi

      Update:
      QTabBar may not be rendered correctly if tabs contain icons on High Dpi. The QTabBar height is twice the correct size and text and icon are rendered outside tab.
      (screen shot attached) and a little patch seems to solve this problem is attached for consideration.

      Attachments

        1. Bildschirmfoto-2012-06-19-um-08.06.43.png
          Bildschirmfoto-2012-06-19-um-08.06.43.png
          122 kB
        2. DockWidget.png
          DockWidget.png
          14 kB
        3. HiDPI-4.8.patch
          44 kB
        4. highdpibugscreen.jpg
          highdpibugscreen.jpg
          182 kB
        5. HighDPITest.zip
          9 kB
        6. QtabbarHiDpi.diff
          0.8 kB
        7. Screen Shot.png
          Screen Shot.png
          92 kB

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              sorvig Morten Sørvig
              Votes:
              50 Vote for this issue
              Watchers:
              67 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes