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

Use new Windows API for setting high DPI awareness

XMLWordPrintable

    • d66cb667efbc33b3a81ecc495e90a2e2f44616b2 (qt/qtbase/dev)

      The Windows platform plugin currently uses SetProcessDpiAwareness to set the dpiAwareness level. Newer Windows versions (Windows 10, 1703) have a function SetProcessDpiAwarenessContext which supports another value DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2. This will enable window decoration and native dialog scaling on mixed-monitor setups, so this should be the default on appropriate systems.

      The dynamic size changes of window decorations and dialogs probably need to be handled in Qt.

        For Gerrit Dashboard: QTBUG-68712
        # Subject Branch Project Status CR V

            sorvig Morten Sørvig
            usiems Uwe Siems
            Votes:
            7 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes