Skip to content

ci: add wayland support to AppImage releases#2547

Merged
Arisotura merged 1 commit intomelonDS-emu:masterfrom
danielfrrrr:appimage-wayland
Jan 26, 2026
Merged

ci: add wayland support to AppImage releases#2547
Arisotura merged 1 commit intomelonDS-emu:masterfrom
danielfrrrr:appimage-wayland

Conversation

@danielfrrrr
Copy link
Contributor

@danielfrrrr danielfrrrr commented Jan 18, 2026

Currently, when you run melonDS with QT_QPA_PLATFORM=wayland ./melonDS-x86_64.AppImage, you get this error:

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

This is because linuxdeploy-plugin-qt needs to explicitly configure wayland support at build time. That is what this PR does.

Reason for adding the new dependency:

$EXTRA_PLATFORM_PLUGINS needs the files /usr/lib/{aarch64,x86_64}-linux-gnu/qt6/plugins/platforms/{libqwayland-egl.so,libqwayland-generic.so}, found in the qt6-wayland package.

References for my implementation:
https://github.com/linuxdeploy/linuxdeploy-plugin-qt#environment-variables
PCSX2

With this PR, this issue will eventually be closed: #2386. In Qt 6.9, support was added for wayland clients to set their window icon using setWindowIcon, which in turn uses the wayland xdg-toplevel-icon protocol. However, AppImage is currently being built and packaged against a version lower than 6.9, due to the fact that the Ubuntu image of the GitHub Actions runner is using version 24.04 LTS, where the qt6-wayland package is still at version 6.4! Therefore, this PR is the first step, then it is just a matter of waiting for GitHub Actions to update its system to a version that has Qt 6.9, and the icon will likely be available in wayland.

@Arisotura
Copy link
Member

gonna see if this builds fine - if so, I'll merge it

@Arisotura Arisotura merged commit 33a7ba2 into melonDS-emu:master Jan 26, 2026
8 of 9 checks passed
@danielfrrrr danielfrrrr deleted the appimage-wayland branch January 29, 2026 01:29
maximxlss pushed a commit to maximxlss/melonDS-headless that referenced this pull request Feb 14, 2026
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.

Implement icon through QWindow::setIcon

2 participants