Hi, I just got a 1920x1080 14" laptop, this fairly high but not huge DPI. I have set the Windows 7 scaling to 125% which is small but OK. I migrated my Qt4 app to Qt 5.4.1 (at last...) and use the fusion style.
With the default settings, it seems the app is not DPI aware : everything is very small. I have tried the various WindowsPlatform = dpiawareness = 0,1,2 in qt.conf, without any effect. I have tried setting QT_DEVICE_ASPECT_RATIO environment variable to 2. Then the whole style is scaled, except the font, which stay exactly the same size : very small. What can be the problem? All my UI was done with Qt4 designer, and for instance the toolbox title bars use "MS Shell Dlg 2"font, size 8 (By the way, I do not know why QtDesigner used this font everywhere) Thanks for helping! Regards, Etienne 2015-02-13 18:31 GMT+01:00 John Weeks <j...@wavemetrics.com>: > > > On Feb 13, 2015, at 12:36 AM, Etienne Sandré-Chardonnal < > etienne.san...@m4x.org> wrote: > > > > The original question was about the convenience of a high DPI dev laptop > with Qt Creator, but now I think I will need one for making my app high dpi > compatible. > > I had my company get me a 5K iMac for just that reason. You can do it with > a standard monitor set to display at double size, but then you're working > on a huge tablet screen. > > Apple's Retina screens have driven an interesting inversion- Qt's support > for hi-res screens in version 5.4 is better for Macintosh than for Windows! > > -John Weeks > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest