HighDPI and Qt Designer
Unsolved
General and Desktop
-
I am using Qt designer for creating dialogs in my application. Everything looks fine on normal display but on 4K with 200% in Windows DPI setting dialogs and elements are too small. I expect that when I set layout margins to 6 to have it 12, when I add spacer on 40 pixels it would be 80 and when I set 400x300 dialog size it would be 800x600. Same for minimum/maximum size, etc. Is there a way to achieve such results with current Qt version (I am using 5.5.1)?
-
Hi
On Windows, there is no scaling. you must handle it your self as far as I know.
http://doc.qt.io/qt-5/highdpi.html -
Better (although still not perfect on Windows) support for HighDPI comes in Qt 5.6. Here's a short description from the mailing list post.