Contents
Is there a problem with Qt applications under GNOME?
I have a problem with QT applications (i.e. picard or masterpdfeditor) under GNOME: their interface looks tiny. Instead, GTK application looks good. I would like a global solution which will work across all applications, not a per-application fix.
Which is the best configuration for Qt 5.5?
Note: As of Qt 5.5 this is the configuration used by the official, pre-built binary packages of Qt. It is strongly recommended to use it also in custom builds, especially for Qt binaries that are deployed alongside applications.
Can you use Qt 4 instead of Qt 5?
I wanted to migrate my Qt 4 app to use Qt 5 instead. These instructions failed, due to some differences with how MXE builds Qt 5, including the fact that it uses modularised Qt tarballs, instead of one large tarball.
How long does it take to build Qt 5?
These instructions failed, due to some differences with how MXE builds Qt 5, including the fact that it uses modularised Qt tarballs, instead of one large tarball. This will first build its dependencies and the cross-build tools; It should take less than an hour on a fast machine with decent internet access.
How to honor screen DPI in Qt 5?
Since Qt 5.6, Qt 5 applications can be instructed to honor screen DPI by setting the QT_AUTO_SCREEN_SCALE_FACTOR environment variable. So, you just need to edit ~/.profile or ~/.bash_profile and add this line to export the correct environment variable like this :
What should Qt scale factor be in Linux Mint?
Use QT_SCALE_FACTOR=1.5 instead. (or whatever size you want, supports fractional scaling.) Works perfectly fine on a Dell with 4K display. Source: It works on my machine with 4k display. For those using MasterPDF and experiencing tiny fonts when using a 4k monitor, this is what I did to resolve the issue in Linux Mint 19:
How to set the scaling factor in Qt?
If automatic detection of DPI does not produce the desired effect, scaling can be set manually per-screen ( QT_SCREEN_SCALE_FACTORS ) or globally ( QT_SCALE_FACTOR ). If you manually set the screen factor, it is important to set QT_AUTO_SCREEN_SCALE_FACTOR=0 otherwise some applications which explicitly force high DPI enabling get scaled twice.