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

Windows function 'SetProcessDPIAware' should not be called from code

XMLWordPrintable

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

      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.
      "

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes