Qt 6.11 is out! See what's new in the release
blog
Multi Monitor / HighDPI-Resolution problems
-
Hello,
I have a Qt Widget application that has some problems when running on several monitors with different resolution/high-dpi-scaling settings.
For high dpi scaling I have setQApplication::setAttribute(Qt::AA_EnableHighDpiScaling);The problems I get is that sometimes menus (form combo box or right-click menus) appear at the wrong position or even outside the monitor.
Any Idea what could be the reason or how to debug this, or is it even realistic to try getting a GUI working under such strange conditions.
This especially happens when a QDockWidget is placed on the second monitor with different scaling/resolution.
(Qt5.12 on Windows10) -
Hi,
If memory serves well, there has been a lot of work done for high DPI support since 5.12. I would try with the latest 5.15 or even Qt 6.