From 9044f54353571df373ea22f7701174a242c58cc8 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 21 May 2024 12:36:25 +1000 Subject: [PATCH] Deps: Apply qtbase commit 7b01862 --- .../scripts/macos/build-dependencies.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/macos/build-dependencies.sh b/.github/workflows/scripts/macos/build-dependencies.sh index 554bff7920..d24fa80dd0 100755 --- a/.github/workflows/scripts/macos/build-dependencies.sh +++ b/.github/workflows/scripts/macos/build-dependencies.sh @@ -218,13 +218,28 @@ echo "Installing Qt Base..." rm -fr "qtbase-everywhere-src-$QT" 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. + +# https://github.com/qt/qtbase/commit/7b018629c3c3ab23665bf1da00c43c1546042035 +# The QProcess default wait time of 30s may be too short in e.g. CI environments where processes may be blocked +# for a longer time waiting for CPU or IO. + patch -u src/tools/macdeployqt/shared/shared.cpp <