graesslin created this revision. graesslin added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. graesslin requested review of this revision.
REVISION SUMMARY As discussed the env variables are no longer exported. Thus Qt applications follow the default qpa platform they are compiled with and thus still function if they are packaged with a Qt without QtWayland. Plasma's internal processes pick the qpa platform depending on the session type as well as our flatpak apps. KRunner and Plasmashell are adjusted to not leak the env variable they set for themselves. TEST PLAN Started a wayland session, verified with KWin's debug console that plasmashell and krunner are wayland. Launched kwrite from both plasma and krunner and verified that it's xcb REPOSITORY R120 Plasma Workspace BRANCH unset-qt-qpa-platform REVISION DETAIL https://phabricator.kde.org/D11447 AFFECTED FILES krunner/main.cpp shell/main.cpp startkde/startplasmacompositor.cmake To: graesslin, #plasma Cc: plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart