* 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
` (2 more replies)
0 siblings, 3 replies; 7+ 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] 7+ 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
2023-01-29 21:24 ` Genevieve via Bug reports for GNU Guix
2023-03-29 0:41 ` Maxim Cournoyer
2 siblings, 1 reply; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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
@ 2023-01-29 21:24 ` Genevieve via Bug reports for GNU Guix
2023-02-02 17:19 ` Josselin Poiret via Bug reports for GNU Guix
2023-03-29 0:41 ` Maxim Cournoyer
2 siblings, 1 reply; 7+ messages in thread
From: Genevieve via Bug reports for GNU Guix @ 2023-01-29 21:24 UTC (permalink / raw)
To: 51826
> `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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#51826: qt packages (e.g. pcmanfm-qt) missing wayland qt module
2023-01-29 21:24 ` Genevieve via Bug reports for GNU Guix
@ 2023-02-02 17:19 ` Josselin Poiret via Bug reports for GNU Guix
0 siblings, 0 replies; 7+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2023-02-02 17:19 UTC (permalink / raw)
To: genevieve, 51826
Hi Genevieve,
Genevieve via Bug reports for GNU Guix <bug-guix@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@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
^ permalink raw reply [flat|nested] 7+ 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
2023-01-29 21:24 ` Genevieve via Bug reports for GNU Guix
@ 2023-03-29 0:41 ` Maxim Cournoyer
2 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2023-03-29 0:41 UTC (permalink / raw)
To: bdju; +Cc: Josselin Poiret, Efraim Flashner, Genevieve, 51826-done
Hello,
"bdju" <bdju@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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-03-29 0:42 UTC | newest]
Thread overview: 7+ 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
2023-01-29 21:24 ` Genevieve via Bug reports for GNU Guix
2023-02-02 17:19 ` Josselin Poiret via Bug reports for GNU Guix
2023-03-29 0:41 ` Maxim Cournoyer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.