bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
Hello, "bdju" writes: > I am running Guix System with Sway > guix (GNU Guix) 33a80e111096b05af3d60576dfcb2d67099dc60e > > Running `QT_QPA_PLATFORM=wayland pcmanfm-qt` results in failure to > launch and the following errors: > > ``` > 21:50:38.413|qt.qpa.plugin|W|Could not find the Qt platform plugin "wayland" > in "" > 21:50:38.413|default|F|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. > > zsh: abort QT_QPA_PLATFORM=wayland pcmanfm-qt I believe the modern manifestation of this problem was #57742, now fixed on the staging branch (see commit e4ef2db8fda85a469a6fc89bf3c46c9d7e8d44ea). -- Thanks, Maxim
bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
Hi Genevieve, Genevieve via Bug reports for GNU Guix writes: > Additionally, searching for qtwayland files in my guix profile only finds > license files in ~/.guix-profile/share/doc/qtwayland-6.3.1/... We now have qtwayland@6 as well, so by default guix will consider qtwayland to be qtwayland@6. I'd say you need to put qtwayland@5 in the above shell incantation. This is definitely something that we should fix on core-updates, to have qtbase always include the corresponding qtwayland. Best, -- Josselin Poiret
bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
> `guix shell --pure --preserve="^(XDG_|WAYLAND_DISPLAY)" > bash pcmanfm-qt qtwayland -- bash -c > "QT_QPA_PLATFORM=wayland pcmanfm-qt"` > does work as expected Unfortunately I'm still experiencing this regression no matter what I try, and the above command gives qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" Additionally, searching for qtwayland files in my guix profile only finds license files in ~/.guix-profile/share/doc/qtwayland-6.3.1/... So something is clearly not being installed, but I'm not sure where to start with debugging this.
bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
On Sun, Nov 14, 2021 at 06:13:41PM -0600, bdju via Bug reports for GNU Guix wrote: > On Sun Nov 14, 2021 at 7:44 AM CST, Josselin Poiret wrote: > > Hello, > > > > This plugin is packaged as a part of qtwayland, and `guix shell --pure > > --preserve="^(XDG_|WAYLAND_DISPLAY)" bash pcmanfm-qt qtwayland -- bash > > -c "QT_QPA_PLATFORM=wayland pcmanfm-qt"` does work as expected (whereas > > it does not if I leave out qtwayland). You might want to install > > qtwayland in your profile for it to work. > > > > Best, > > Josselin Poiret > Thanks, installing that does indeed get pcmanfm-qt to launch, although > the right click menu and file menus seem to be invisible! I had to open > up a pcmanfm-qt without this env var to see how to get to preferences > blindly. (alt-e alt-e will open edit then preferences). The missing > right click menu is even worse since what's under the menu can vary, > especially the "open with" menu. > > Also, should this have been a dependency of something? I definitely > didn't install it manually on postmarketOS (alpine-based). I have qtwayland installed in my profile too. I have a couple of qt programs which need it installed to use. It is better than before, where each package had to be modified to support displaying on wayland, but I'm not sure where we would inject qtwayland in the qt/kde build stack to make sure everything builds against it. -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted signature.asc Description: PGP signature
bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
On Sun Nov 14, 2021 at 7:44 AM CST, Josselin Poiret wrote: > Hello, > > This plugin is packaged as a part of qtwayland, and `guix shell --pure > --preserve="^(XDG_|WAYLAND_DISPLAY)" bash pcmanfm-qt qtwayland -- bash > -c "QT_QPA_PLATFORM=wayland pcmanfm-qt"` does work as expected (whereas > it does not if I leave out qtwayland). You might want to install > qtwayland in your profile for it to work. > > Best, > Josselin Poiret Thanks, installing that does indeed get pcmanfm-qt to launch, although the right click menu and file menus seem to be invisible! I had to open up a pcmanfm-qt without this env var to see how to get to preferences blindly. (alt-e alt-e will open edit then preferences). The missing right click menu is even worse since what's under the menu can vary, especially the "open with" menu. Also, should this have been a dependency of something? I definitely didn't install it manually on postmarketOS (alpine-based).
bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
Hello, This plugin is packaged as a part of qtwayland, and `guix shell --pure --preserve="^(XDG_|WAYLAND_DISPLAY)" bash pcmanfm-qt qtwayland -- bash -c "QT_QPA_PLATFORM=wayland pcmanfm-qt"` does work as expected (whereas it does not if I leave out qtwayland). You might want to install qtwayland in your profile for it to work. Best, Josselin Poiret
bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
I am running Guix System with Sway guix (GNU Guix) 33a80e111096b05af3d60576dfcb2d67099dc60e Running `QT_QPA_PLATFORM=wayland pcmanfm-qt` results in failure to launch and the following errors: ``` 21:50:38.413|qt.qpa.plugin|W|Could not find the Qt platform plugin "wayland" in "" 21:50:38.413|default|F|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. zsh: abort QT_QPA_PLATFORM=wayland pcmanfm-qt ``` Due to this problem, I cannot set this env var for my whole profile or many programs will break. This means they run with xwayland instead of native wayland. I have run some of these same programs on another distro (postmarketOS on a Pinebook Pro) and found they run in Sway. I believe this is likely a packaging issue with qt stuff.