[startplasma] don't set QT_AUTO_SCREEN_SCALE_FACTOR with Qt >= 5.14
ClosedPublic

Authored by dfaure on Sep 27 2019, 12:52 AM.

Details

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

Diff Detail

Repository
R120 Plasma Workspace
Branch
Plasma/5.17
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17079
Build 17097: arc lint + arc unit
dfaure created this revision.Sep 27 2019, 12:52 AM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 27 2019, 12:52 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
dfaure requested review of this revision.Sep 27 2019, 12:52 AM
davidedmundson accepted this revision.Sep 27 2019, 9:54 AM
This revision is now accepted and ready to land.Sep 27 2019, 9:54 AM
dfaure closed this revision.Sep 27 2019, 5:28 PM