Skip to content

Qt: install qt5-wayland, fall back to xcb so bauh starts - #207

Merged
VictorGSchneider merged 1 commit into
mainfrom
claude/dazzling-mayer-9mlwdr
Oct 22, 2026
Merged

VictorGSchneider merged 1 commit into
mainfrom
claude/dazzling-mayer-9mlwdr

Conversation

@VictorGSchneider

Copy link
Copy Markdown
Owner

bauh (PyQt5) aborts on start:

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Fatal Python error: Aborted

Both sessions export QT_QPA_PLATFORM=wayland, but nothing installs qt5-wayland, the Qt5 Wayland platform plugin.

  • setup/post-install.sh: adds qt5-wayland and qt6-wayland to THEME_PKGS.
  • config/hypr/hyprland.lua and config/niri/config.kdl: change QT_QPA_PLATFORM to wayland;xcb. A Qt app whose Wayland plugin is missing then falls back to XWayland instead of aborting.

bash tests/run.sh: 14 passed, 3 skipped.


Generated by Claude Code

bauh (PyQt5) aborted on start with 'Could not find the Qt platform
plugin "wayland"': both sessions export QT_QPA_PLATFORM=wayland, and
nothing installed qt5-wayland, the Qt5 Wayland platform plugin.
post-install now installs qt5-wayland and qt6-wayland, and the
variable is 'wayland;xcb' so a Qt app without its Wayland plugin falls
back to XWayland instead of aborting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MN4kDREFU6ZpG9wyDPKuhp
@VictorGSchneider VictorGSchneider self-assigned this Oct 22, 2026
@VictorGSchneider
VictorGSchneider merged commit 76e0d9f into main Oct 22, 2026
3 checks passed
@VictorGSchneider
VictorGSchneider deleted the claude/dazzling-mayer-9mlwdr branch October 22, 2026 00:42
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.

2 participants