From b02318e2b6c57dcbe4e3c3b88359faddc14aff6a Mon Sep 17 00:00:00 2001 From: JordanTheToaster Date: Tue, 17 Jun 2025 21:04:51 +0100 Subject: [PATCH] Misc: Qt 6.10.0 Build Fixes --- .github/workflows/scripts/linux/appimage-qt.sh | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/scripts/linux/appimage-qt.sh b/.github/workflows/scripts/linux/appimage-qt.sh index 331fb1d7f5..3a5d368c65 100755 --- a/.github/workflows/scripts/linux/appimage-qt.sh +++ b/.github/workflows/scripts/linux/appimage-qt.sh @@ -50,12 +50,6 @@ declare -a MANUAL_LIBS=( "libfreetype.so.6" ) -declare -a REMOVE_LIBS=( - 'libwayland-client.so*' - 'libwayland-cursor.so*' - 'libwayland-egl.so*' -) - set -e LINUXDEPLOY=./linuxdeploy-x86_64.AppImage @@ -130,7 +124,7 @@ echo "Running linuxdeploy to create AppDir..." # Interestingly, specifying the module doesn't copy the module, only the required plugins for it # https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/160#issuecomment-2655543893 EXTRA_QT_MODULES="core;gui;svg;waylandclient;waylandcompositor;widgets;xcbqpa" \ -EXTRA_PLATFORM_PLUGINS="libqwayland-egl.so;libqwayland-generic.so" \ +EXTRA_PLATFORM_PLUGINS="libqwayland.so" \ DEPLOY_PLATFORM_THEMES="1" \ QMAKE="$DEPSDIR/bin/qmake" \ NO_STRIP="1" \ @@ -140,16 +134,6 @@ $LINUXDEPLOY --plugin qt --appdir="$OUTDIR" --executable="$BUILDDIR/bin/pcsx2-qt echo "Copying resources into AppDir..." cp -a "$BUILDDIR/bin/resources" "$OUTDIR/usr/bin" -# Why do we have to manually remove these libs? Because the linuxdeploy Qt plugin -# copies them, not the "main" linuxdeploy binary, and plugins don't inherit the -# include list... -for lib in "${REMOVE_LIBS[@]}"; do - for libpath in $(find "$OUTDIR/usr/lib" -name "$lib"); do - echo " Removing problematic library ${libpath}." - rm -f "$libpath" - done -done - # Restore unstripped deps (for cache). rm -fr "$DEPSDIR" mv "$DEPSDIR.bak" "$DEPSDIR"