GNU bug report logs -
#51826
qt packages (e.g. pcmanfm-qt) missing wayland qt module
Previous Next
Reported by: "bdju" <bdju <at> tilde.team>
Date: Sun, 14 Nov 2021 04:02:02 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51826 in the body.
You can then email your comments to 51826 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#51826
; Package
guix
.
(Sun, 14 Nov 2021 04:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"bdju" <bdju <at> tilde.team>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 14 Nov 2021 04:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#51826
; Package
guix
.
(Sun, 14 Nov 2021 13:45:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 51826 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#51826
; Package
guix
.
(Mon, 15 Nov 2021 00:17:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 51826 <at> debbugs.gnu.org (full text, mbox):
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).
Information forwarded
to
bug-guix <at> gnu.org
:
bug#51826
; Package
guix
.
(Tue, 16 Nov 2021 19:22:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 51826 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#51826
; Package
guix
.
(Mon, 30 Jan 2023 08:52:05 GMT)
Full text and
rfc822 format available.
Message #17 received at 51826 <at> debbugs.gnu.org (full text, mbox):
> `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.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#51826
; Package
guix
.
(Thu, 02 Feb 2023 17:20:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 51826 <at> debbugs.gnu.org (full text, mbox):
Hi Genevieve,
Genevieve via Bug reports for GNU Guix <bug-guix <at> gnu.org> 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 <at> 6 as well, so by default guix will consider
qtwayland to be qtwayland <at> 6. I'd say you need to put qtwayland <at> 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
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Wed, 29 Mar 2023 00:42:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"bdju" <bdju <at> tilde.team>
:
bug acknowledged by developer.
(Wed, 29 Mar 2023 00:42:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 51826-done <at> debbugs.gnu.org (full text, mbox):
Hello,
"bdju" <bdju <at> tilde.team> 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 archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 26 Apr 2023 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.