unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
@ 2021-11-14  3:59 bdju via Bug reports for GNU Guix
  2021-11-14 13:44 ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 1 reply; 4+ messages in thread
From: bdju via Bug reports for GNU Guix @ 2021-11-14  3:59 UTC (permalink / raw)
  To: 51826

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
  2021-11-14  3:59 bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module bdju via Bug reports for GNU Guix
@ 2021-11-14 13:44 ` Josselin Poiret via Bug reports for GNU Guix
  2021-11-15  0:13   ` bdju via Bug reports for GNU Guix
  0 siblings, 1 reply; 4+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2021-11-14 13:44 UTC (permalink / raw)
  To: bdju, 51826; +Cc: dev

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
  2021-11-14 13:44 ` Josselin Poiret via Bug reports for GNU Guix
@ 2021-11-15  0:13   ` bdju via Bug reports for GNU Guix
  2021-11-16 19:12     ` Efraim Flashner
  0 siblings, 1 reply; 4+ messages in thread
From: bdju via Bug reports for GNU Guix @ 2021-11-15  0:13 UTC (permalink / raw)
  To: Josselin Poiret, 51826

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).




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
  2021-11-15  0:13   ` bdju via Bug reports for GNU Guix
@ 2021-11-16 19:12     ` Efraim Flashner
  0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2021-11-16 19:12 UTC (permalink / raw)
  To: bdju; +Cc: 51826

[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]

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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-16 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14  3:59 bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module bdju via Bug reports for GNU Guix
2021-11-14 13:44 ` Josselin Poiret via Bug reports for GNU Guix
2021-11-15  0:13   ` bdju via Bug reports for GNU Guix
2021-11-16 19:12     ` Efraim Flashner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).