Skip to content

fix: Add QT_QPA_PLATFORM environment variable#97

Merged
DirkDoes merged 1 commit into
TeamWheelWizard:devfrom
matellush:fix/dolphin-env-var
Apr 3, 2025
Merged

fix: Add QT_QPA_PLATFORM environment variable#97
DirkDoes merged 1 commit into
TeamWheelWizard:devfrom
matellush:fix/dolphin-env-var

Conversation

@matellush
Copy link
Copy Markdown
Collaborator

Purpose of this PR:

Expose this environment variable to non-Flatpak Dolphin executables on Linux to fix crashes on Wayland.

How to Test:

A machine with a recent KDE Plasma version on Wayland can be used along with a native dolphin-emu installation to test that e.g. the Software Renderer backend works to launch Retro Rewind. /proc/<pid>/environ with pid of the dolphin-emu process should show the QT_QPA_PLATFORM=xcb environment variable. I've tested this and it works.

What Has Been Changed:

The Dolphin launcher will now add this environment variable where needed on Linux systems to the launched process.

Related Issue Link:

#95

Checklist before merging

  • You have created relevant tests

@DirkDoes DirkDoes merged commit c61011d into TeamWheelWizard:dev Apr 3, 2025
3 checks passed
@matellush matellush deleted the fix/dolphin-env-var branch April 3, 2025 22:28
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