Package: kristall Version: 0.3+git20210303.763bd81+dfsg-1 Severity: normal X-Debbugs-Cc: charlesmel...@outlook.com
Dear Maintainer (myself in this case), I'm running kristall on a gnome/wayland (default) session and I always get the following warning regarding kristall: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. But when I try to run kristall with QT_QPA_PLATFORM=wayland, it fails to launch and displays the following message: qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. Aborted Well, fear not if you're reading this report because this happened to you. This happens because enabling QT_QPA_PLATFORM=wayland makes QT run on wayland natively instead of using a X compatibility layer. You shouldn't worry to much about this last sentence. A very easy solution to the problem is to install qtwayland5: apt install qtwayland5 # (use sudo if you're not root) After that, you'll be able to run kristall with QT_QPA_PLATFORM=wayland set. You may wonder why it doesn't work out of the box, the main problem is running on wayland natively used to be buggy so the upstream deactivated it. Nowadays (qt > 5.12) it pretty stable so it should be safe to run it. There is only one known bug remaining [1] and it's a corner case IMHO. Hopefully this can help anyone with the same problem. Cheers, Carlos Melara (a.k.a. Charles) [1] https://bugreports.qt.io/browse/QTBUG-68636 -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.18.0-4-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages kristall depends on: ii libc6 2.34-4 ii libgcc-s1 12.1.0-8 ii libqt5core5a 5.15.4+dfsg-5 ii libqt5gui5 5.15.4+dfsg-5 ii libqt5multimedia5 5.15.4-2 ii libqt5multimediawidgets5 5.15.4-2 ii libqt5network5 5.15.4+dfsg-5 ii libqt5widgets5 5.15.4+dfsg-5 ii libssl3 3.0.5-2 ii libstdc++6 12.1.0-8 kristall recommends no packages. Versions of packages kristall suggests: ii qtwayland5 5.15.4-2 -- no debconf information