Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Qt5] Add Qt5Wayland #3555

Closed
wants to merge 1 commit into from
Closed

[Qt5] Add Qt5Wayland #3555

wants to merge 1 commit into from

Conversation

barche
Copy link
Contributor

@barche barche commented Aug 26, 2021

WIP attempt to fix #3551

@barche
Copy link
Contributor Author

barche commented Aug 26, 2021

The failures are because wayland-scanner, a tool used during compilation and provided by Wayland_jll, segfaults. No idea why.

@giordano
Copy link
Member

The failures are because wayland-scanner, a tool used during compilation and provided by Wayland_jll, segfaults. No idea why.

Using the wrong one?

# Need a host Wayland for wayland-scanner
HostBuildDependency("Wayland_jll"),

@barche
Copy link
Contributor Author

barche commented Aug 26, 2021

Using the wrong one?

Yes, that was it, thanks :)

@giordano
Copy link
Member

It isn't clear to me how this solves #3551. Does the user need to install this package?

@barche
Copy link
Contributor Author

barche commented Aug 28, 2021

It isn't clear to me how this solves #3551. Does the user need to install this package?

The package needs to be installed and its plugins/platforms dir added to the list of platform plugin directories (don't know how yet). But having just compared the contents of that directory against what I have on my Arch Linux system, I think we are missing at least libqwayland-egl.so for this to be useful (currently only the libqwayland-generic.so platform module is there).

@mkitti
Copy link
Contributor

mkitti commented Nov 1, 2022

Could we revisit this?

With the removal of the alternate binaries mechanism in GR.jl, support on Wayland is broken now.

@barche
Copy link
Contributor Author

barche commented Nov 6, 2022

I'm not sure how to test this. I just tried Plasma on Wayland on my Arch installation, and on a fresh Plots installation the GKS Qt window shows up as normal after spitting the warning

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""

I assume it's falling back to X11 emulation, and checking that the warning stays away is a good test?

@mkitti
Copy link
Contributor

mkitti commented Nov 7, 2022

Here's the original issue:
sciapp/gr#141

@barche barche closed this by deleting the head repository Jan 21, 2023
@mkitti
Copy link
Contributor

mkitti commented Jan 21, 2023

Oh, hmm..

@barche
Copy link
Contributor Author

barche commented Jan 21, 2023

Oh, this was accidental, I thought something went wrong with my Yggdrasil fork so I recreated it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wayland support in Qt5Base_jll
3 participants