romangg added a comment.
Shouldn't this function go directly in KWayland as some utily function `xdgSessionToQpaPlatform`? I believe it's generic enough for that and even though Qt 5.11 will have detection for QT_QPA_PLATFORM the function could be of interest to other apps as well, which can't yet rely on Qt 5.11. In particular of course KDE apps themselves. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D10816 To: graesslin, #plasma Cc: romangg, broulik, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart