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

Windows function 'SetProcessDPIAware' should not be called from code

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2: Important
    • Resolution: Out of scope
    • 4.8.4, 5.0.1, 5.2.1
    • 5.4.0
    • Core: Plugins
    • None
    • 2e44a9e4918cd6d9d7f33f61330c456249dd9b0f (use Hires API for Win 8.1, dev, 5.5.2014, 5.4)

    Description

      Qt apps get warnings on windows application certification kit because of a misuse of 'SetProcessDPIAware'.

      http://msdn.microsoft.com/en-us/library/windows/desktop/ms633543(v=vs.85).aspx

      "
      Note SetProcessDPIAware is subject to a possible race condition if a DLL caches dpi settings during initialization. For this reason, it is recommended that dpi-aware be set through the application (.exe) manifest rather than by calling SetProcessDPIAware.
      "

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              mphair Matthew Phair
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes