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

Automatically add Qt wayland support to Qt executables on Linux #12

Merged
merged 2 commits into from
Jul 14, 2024

Conversation

oblivioncth
Copy link
Owner

Was already partially implemented, but this does the rest for shared builds.

Sadly I can find no guidance on how this is supposed to be done, surprisingly enough, but this seems to get the job done for both static and shared builds.

This supersedes the (what I can only assume was a) bodge fix for
wayland when using a static build of Qt where the plugin was
explicitly imported, because it seems like all one needs to do
to add wayland support to an executable is link it to
Qt6::WaylandClient, which will cause the plugin to be added and
also deployed correctly in shared builds.
@oblivioncth oblivioncth merged commit 2356fb3 into dev Jul 14, 2024
@oblivioncth oblivioncth deleted the auto_wayland branch July 14, 2024 02:19
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.

1 participant