Qt scales incorrectly for different resolution even with DPI aware

  • Hello,
    I have an issue with the scaling of the desktop application. I have attached the screenshot at the end.
    Used the following but

    1. ::setAttribute(Qt::AA_UseHighDpiPixmaps)
    2. etAttribute(Qt::AA_EnableHighDpiScaling); and DisableHighDpiScaling
    3. qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
    4. putenv("QT_SCALE_FACTOR", "1");

    Not quite sure where the problem is and how to debug this situation. So any suggestions or help is appreciated. Thank you.
    The actual:

    After changing the resolution:

  • Qt Champions 2017

    You mean the text is cut off in the list to left?

  • @mrjj Yes, if I move the Window from one screen to another as well I see the same issue. It also exists in the menu bar as you can see in the screenshots.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.