D24255: [startplasma] don't set QT_AUTO_SCREEN_SCALE_FACTOR with Qt >= 5.14
David Faure
noreply at phabricator.kde.org
Fri Sep 27 01:52:59 BST 2019
dfaure created this revision.
dfaure added a reviewer: apol.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
dfaure requested review of this revision.
REVISION SUMMARY
It gives the following runtime warning:
Warning: QT_AUTO_SCREEN_SCALE_FACTOR is deprecated. Instead use:
QT_ENABLE_HIGHDPI_SCALING to enable platform plugin controlled per-screen factors
But we don't need to set QT_ENABLE_HIGHDPI_SCALING to 0.
Just setting QT_SCREEN_SCALE_FACTORS is enough to control scaling, after
my commit e018d11600bffc6 to qtbase.
Kudos for porting startkde to be C++ code, it makes this commit much
easier...
TEST PLAN
Builds; not rebooted yet
REPOSITORY
R120 Plasma Workspace
BRANCH
Plasma/5.17
REVISION DETAIL
https://phabricator.kde.org/D24255
AFFECTED FILES
startkde/startplasma.cpp
To: dfaure, apol
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190927/e788c600/attachment.html>
More information about the Plasma-devel
mailing list