Determine if we should use Qt scaling based on env var

Authored by davidedmundson on Aug 8 2017, 10:04 AM.



KWindowSystem::platform() cannot be used before QApplication is

QCoreApplication::setAttribute needs to be called before QApplication is

We need a different method. I've used an explicit new env variable so
that some users can also opt in to use this when on X.

Test Plan

Logged in.
Plasma panels all work. Look to be native resolution.

Diff Detail

R120 Plasma Workspace
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Aug 8 2017, 10:04 AM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 8 2017, 10:04 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Aug 8 2017, 10:32 AM
mart added a subscriber: mart.

ok, let's go with this verison

This revision is now accepted and ready to land.Aug 8 2017, 10:32 AM
This revision was automatically updated to reflect the committed changes.