From b9a00c30e28cf13cffb2df5686b8218cd92ef957 Mon Sep 17 00:00:00 2001 From: lat9nq Date: Wed, 27 Jul 2022 16:31:54 -0400 Subject: [PATCH] AppRun: Set QT_QPA_PLATFORM at start of script Forces yuzu to use X11 even on Wayland hosts. --- AppRun | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppRun b/AppRun index 42dff21..37379e2 100755 --- a/AppRun +++ b/AppRun @@ -1,5 +1,10 @@ #!/bin/sh -e +# Force xcb platform for Qt applications +if [ -z "${QT_QPA_PLATFORM}" ]; then + export QT_QPA_PLATFORM=xcb +fi + # add your command to execute here exec=