Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Qt erros on LTSC Windows
Qt 6.11 is out! See what's new in the release blog

Qt erros on LTSC Windows

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Witc
    wrote on last edited by
    #1

    Hi,

    I have app python/qml/Pyside6. I can run it normally on windows 10/11 machine. When I run it on windows LTSC version - the applikaction runs also, but this error always shows up:

    qt.qpa.windows: SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed: COM error 0x57 (Parametr nenÝ sprßvnř.)
    QWindowsWindow::setDarkBorderToWindow: Unable to set dark window border.

    Can anyone help me please with that?

    Thank you. Jan.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      friedemannkleint
      wrote on last edited by friedemannkleint
      #2

      Looks like this is too old to properly support Qt 6. You can try to run the app with the command line argument:

      -platform windows:dpiawareness=1

      (unfortunately not documented in https://doc.qt.io/qt-6/qguiapplication.html ).

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved