<div dir="ltr"><div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 11, 2017 at 11:01 AM, Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com" target="_blank">notmart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On martedì 10 ottobre 2017 19:35:43 CEST Martin Flöser wrote:<br>
> Based on that we can detect whether we are on Wayland and could pick the<br>
> Wayland platform (and should check whether the QPA plugin is installed).<br>
><br>
> The only problem is how to do it:<br>
> * our platform theme plugin is too late :-(<br>
> * kdeinit could be an option - random Qt apps would stay on XCB<br>
<br>
</span>+1 to going trough kdeinit, any known drawbacks?<br></blockquote><div><br></div></div><div class="gmail_quote">I don't understand how kinit helps with anything.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">There are two ways apps get run from the .desktop file.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Either you're going via klauncher, kdeinit sets the env and spawns telegram, and you still have the problem<br></div><div class="gmail_quote">Or you're not, and you inherit the env of the parent process (i.e plasmashell), and you still have the problem.<br></div></div><br></div>Sure, it fixes with launching it via a terminal (without kwrapper5), but then you could just add --platform, and it will break just as much.<br><br></div>David<br></div>