Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2062

[Windows] setProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed with 0x5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.3.1
    • PySide
    • None
    • Windows

    Description

      My code is:
      from PyQt6.QtWidgets import QApplication
      app = QApplication(sys.argv)  # error occurs 
       
      Error message:
      qt.qpa.windows: setProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed: COM error 0x5 (Access is denied.)

      Attachments

        Issue Links

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              yanz Yan Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: