On Sunday, 23 February 2014 13:24:54 CEST, igor.mironc...@gmail.com wrote: > QApplication::desktop()->physicalDpiY()
In addition to what has already been said, note that the value is not updated after the application has started. In X11, the actual DPI can very well change (for example when switching outputs via xrandr), but Qt won't react to that. Hope this helps, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/ _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest