diff --git a/.github/workflows/scripts/macos/build-dependencies.sh b/.github/workflows/scripts/macos/build-dependencies.sh index 1e3fb294fe..05e2221a0f 100755 --- a/.github/workflows/scripts/macos/build-dependencies.sh +++ b/.github/workflows/scripts/macos/build-dependencies.sh @@ -93,6 +93,30 @@ cd .. echo "Installing Qt Base..." tar xf "qtbase-everywhere-src-$QT.tar.xz" cd "qtbase-everywhere-src-$QT" +# since we don't have a direct reference to QtSvg, it doesn't deployed directly from the main binary +# (only indirectly from iconengines), and the libqsvg.dylib imageformat plugin does not get deployed. +# We could run macdeployqt twice, but that's even more janky than patching it. +patch -u src/tools/macdeployqt/shared/shared.cpp <