diff --git a/scripts/build-dependencies-mac.sh b/scripts/build-dependencies-mac.sh index 88f3f96db..50d2d3942 100755 --- a/scripts/build-dependencies-mac.sh +++ b/scripts/build-dependencies-mac.sh @@ -102,6 +102,32 @@ 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 <