Re: How to disable the Qt automatic HiDPI scaling?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/09/2017 11:03 AM, Frederic Muller wrote:
> Hi!
>
> I run GNOME on a 2560x1440 resolution display where I disabled the "double scaling"
> (not sure how it's called). So one pixel is one dot. Unfortunately when running Qt
> applications such as VLC for example they autoscale to 1 dot for 4 pixels making
> those huge and taking most of my display area. When on dual screen they even
> recognize which screen is HiDPI and therefore automatically scale back on the non
> HiDPI screen kind of forcing me to run all my Qt apps on that external screen.
> Unfortunately I do not always have an external screen to save me...
>
> So is there a way (like with GNOME) to disable this feature and have Qt apps
> display "normally"?

FYI, this is a guess on my part since I've not had to deal with this issue.

I think I would look to http://doc.qt.io/qt-5/highdpi.html and see how these
environment variables may be help...

QT_AUTO_SCREEN_SCALE_FACTOR [boolean] enables automatic scaling, based on the pixel
density of the monitor. This will not change the size of point sized fonts, since
point is a physical unit of measure. Multiple screens may get different scale factors.
QT_SCALE_FACTOR [numeric] defines a global scale factor for the whole application,
including point sized fonts.
QT_SCREEN_SCALE_FACTORS [list] specifies scale factors for each screen. This will not
change the size of point sized fonts. This environment variable is mainly useful for
debugging, or to work around monitors with wrong EDID information(Extended Display
Identification Data).


-- 
Fedora Users List - The place to go to speculate endlessly

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux