Details

    • Technical Risk:
      High

      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.

      1. HiDPI-4.8.patch
        44 kB
        Felix Ritter
      2. HighDPITest.zip
        9 kB
        Robin Lobel
      3. QtabbarHiDpi.diff
        0.8 kB
        Qt Support
      1. Bildschirmfoto-2012-06-19-um-08.06.43.png
        122 kB
      2. DockWidget.png
        14 kB
      3. highdpibugscreen.jpg
        182 kB
      4. Screen Shot.png
        92 kB

        Issue Links

          Activity

          Hide
          Robin Lobel added a comment -

          I confirm the QTreeWidgetItem header icon bug has been fixed with the latest 5.2 beta snapshot

          Show
          Robin Lobel added a comment - I confirm the QTreeWidgetItem header icon bug has been fixed with the latest 5.2 beta snapshot
          Hide
          Elias Dufour added a comment -

          any chance to have it HighDPI support available when compiling qt5 on Mac OS 10.6 ?

          Show
          Elias Dufour added a comment - any chance to have it HighDPI support available when compiling qt5 on Mac OS 10.6 ?
          Show
          Steven (crystalidea) added a comment - Relates issues: https://bugreports.qt-project.org/browse/QTBUG-33441 https://bugreports.qt-project.org/browse/QTBUG-36383
          Hide
          Andreas Loew added a comment -

          QDockWidget's icons are not yet retina

          Show
          Andreas Loew added a comment - QDockWidget's icons are not yet retina
          Hide
          Morten Sørvig added a comment - - edited

          Closing.

          Please create new tasks instead of re-opening this issue.

          Show
          Morten Sørvig added a comment - - edited Closing. Please create new tasks instead of re-opening this issue.

            People

            • Assignee:
              Morten Sørvig
              Reporter:
              Morten Sørvig
            • Votes:
              50 Vote for this issue
              Watchers:
              67 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: