D11447: No longer export QT_QPA_PLATFORM env variable to the session
Martin Flöser
noreply at phabricator.kde.org
Sun Mar 18 10:11:04 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180318/9e4fc82e/attachment.html>
More information about the Plasma-devel
mailing list