<div id="gwp0f1ff884"><div id="gwp0f1ff884h"><div class="gwp0f1ff884b" data-message-body="true"><div>Thank you for the suggestion.<br></div><div><br></div><div>Unfortunately, but this commit doesn't solve my problem. I'm using the latest version of the package (kate 23.08.4), which includes this commit.<br></div><div><br></div><div>libqt5waylandclient5 provides the QtWayland client library, and libqt5waylandcompositor5 the QtWayland compositor library. The error indicates that the QtWayland platform plugin is missing.<br></div><div><br></div><div>Here is the result of running kate with QT_DEBUG_PLUGINS=1: <a href="https://pastebin.com/QeZMmuap" target="_blank" rel="noopener noreferrer" ="">https://pastebin.com/QeZMmuap</a><br></div><div><br></div><div>On startup, kate searches for the Qt platform Wayland plugin in /snap/kate/171/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms. It's not found and the application cannot be launched (This application failed to start because no Qt platform plugin could be initialized.).<br></div><div><br></div><div>List of files in the platform plugin directory of kate snap (/snap/kate/171/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms): <a href="https://pastebin.com/qr4b39Rs" target="_blank" rel="noopener noreferrer" ="">https://pastebin.com/qr4b39Rs</a><br></div><div><br></div><div>List of files in the platform plugin directory of my system with qtwayland5 instaled (/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms): <a href="https://pastebin.com/JfksqM3N" target="_blank" rel="noopener noreferrer" ="">https://pastebin.com/JfksqM3N</a><br></div><div><br></div><div>When I set QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins, kate runs correctly. qtwayland5 provides the missing files (<a href="https://packages.ubuntu.com/mantic/arm64/qtwayland5/filelist">https://packages.ubuntu.com/mantic/arm64/qtwayland5/filelist</a>). Therefore, I think qtwayland5 should be added to the snap kate package.</div><div><br></div><div>Finally, information about my system:<br>Ubuntu 23.10<br>Gnome 45.2 with Wayland session<br>Snap 2.61.1<br></div><div><br></div><div><div>Greetings<br></div><div>Marek.<br></div></div><div><br></div><div class="gwp0f1ff884_nh_extra"><p>Dnia 03 lutego 2024 17:30 christoph@cullmann.io napisaƂ(a):<br></p><blockquote class="gwp0f1ff884_nh_quote" style="border-left: 2px solid #999; padding-left: 8px; margin: 0;"><div id="gwp0f1ff884_gwpd85b41e9"><div>On 2024-02-03 01:00, Marek Byk wrote:<br></div><blockquote><div>Hi,<br></div><div><br></div><div>I use kate from snap. Unfortunately, it cannot be run in a wayland<br></div><div>session:<br></div><div><br></div><div>kate --version<br></div><div><br></div><div>qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""<br></div><div><br></div><div>When I installed the qt5-wayland package and set<br></div><div>QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins, kate started<br></div><div>correctly in the wayland session. Of course, this is a temporary<br></div><div>solution, for the purpose of verifying the problem.<br></div><div><br></div><div>It seems to me that in the snapcraft.yaml file in the stage-packages<br></div><div>should be added qtwayland5 (reference:<br></div><div><a href="https://forum.snapcraft.io/t/problem-launching-qt-snaps-in-wayland/7055)." target="_blank" rel="noopener noreferrer" ="">https://forum.snapcraft.io/t/problem-launching-qt-snaps-in-wayland/7055).</a><br></div></blockquote><div><br></div><div>Hi,<br></div><div><br></div><div>I think that was fixed with:<br></div><div><br></div><div><a href="https://invent.kde.org/utilities/kate/-/commit/ea465e32a5c5ef429165ef124002e410825ad7b9" target="_blank" rel="noopener noreferrer" ="">https://invent.kde.org/utilities/kate/-/commit/ea465e32a5c5ef429165ef124002e410825ad7b9</a><br></div><div><br></div><div>Greetings<br></div><div>Christoph<br></div><div><br></div><blockquote><div><br></div><div>Regards, Marek<br></div></blockquote></div></blockquote></div><div><br></div></div></div></div><div><br></div>