[Qgis-developer] QGIS/Linux on high-resolution displays

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Wed Jun 8 11:34:17 PDT 2016


On Wed, Jun 8, 2016 at 6:24 AM, Alessandro Pasotti <apasotti at gmail.com> wrote:
> 2016-06-07 23:17 GMT+02:00 Barry Rowlingson <b.rowlingson at lancaster.ac.uk>:
>>
>> Ive just bought a Dell XPS13 which came with Ubuntu 14.04
>> pre-installed. The screen is 3200 pixels across. Getting applications
>> to scale properly is a nightmare.
>>
>> QGIS (and I guess all Qt apps) seems to be the worst. The icons are
>> microscopic, and the text and other interface elements overlap. It is
>> unusable. Same for Gimp and Inkscape, but I mostly use QGIS.
>
>
>
> QGIS works pretty well (with some minor glitches) in KDE on 4K and retina
> screens, see the tips and the links in this article
> http://www.itopen.it/qgis-and-qt-getting-ready-for-hidpi-screens/

Hmm I had more than minor glitches. The problem is that there were so
many possible things to tweak I could never be sure what was helping!

> No, try setting:
> - the dpi resolution in the display configuration of your OS (system
> settings), that is usually a wrapper for xrandr
> - for QT5, the env vars  QT_DEVICE_PIXEL_RATIO=2 and/or
> QT_SCREEN_SCALE_FACTORS=2
> - icon size in QGIS can be (at least in part, for the toolbar) configured in
> the QGIS options dialog
>
> See also: http://doc.qt.io/qt-5/highdpi.html
>

Since those are all Qt5 things they're no good with QGIS at the
moment, yes? Or is there a QGIS built against Qt5.6+ that I could be
using?

 I've got the icons scaled up now, but there's still some tiny UI
elements - the visibility toggles on layers, and the little plus signs
that expand trees are almost invisible...

thanks for the tips

Barry


More information about the Qgis-developer mailing list