<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7935" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently we set QT_QUICK_CONTROLS_STYLE in startkde.</p>

<p>This causes problems as we're setting vars that meddle with other<br />
developers setups. Especially if they're using QGuiApplication which<br />
will instantly crash when using the desktop theme.</p>

<p>By moving the setting inside the QPT we can:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">only affect QApplications</li>
<li class="remarkup-list-item">only affect apps that are desktopSettingsAware</li>
</ul>

<p>If this env is already explicitly set by someone else, that has<br />
precedence.</p>

<p>Also if this ever does move from being an env variable, we will probably<br />
want to add the code here.</p>

<p>BUG: 384466<br />
BUG: 384481</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Unset env<br />
Ran systemsettings5 the scrollbar was the correct colour</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R135 Integration for Qt applications in Plasma</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7935" rel="noreferrer">https://phabricator.kde.org/D7935</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/platformtheme/kdeplatformtheme.cpp<br />
src/platformtheme/kdeplatformtheme.h</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>