From f2ec2ddc38bb1a31173b9bf79d69931a17504b9d Mon Sep 17 00:00:00 2001 From: kleuter Date: Tue, 26 Apr 2022 11:19:54 +0200 Subject: [PATCH] 5.15.9 - fix for https://bugreports.qt.io/browse/QTBUG-102607 --- 5.15.9/qttools/src/macdeployqt/shared/shared.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/5.15.9/qttools/src/macdeployqt/shared/shared.cpp b/5.15.9/qttools/src/macdeployqt/shared/shared.cpp index 85653ce..f9d4513 100644 --- a/5.15.9/qttools/src/macdeployqt/shared/shared.cpp +++ b/5.15.9/qttools/src/macdeployqt/shared/shared.cpp @@ -208,6 +208,8 @@ OtoolInfo findDependencyInfo(const QString &binaryPath) for (const QString &outputLine : outputLines) { const auto match = regexp.match(outputLine); if (match.hasMatch()) { + if (match.captured(1) == info.installName) + continue; // Another arch reference to the same binary DylibInfo dylib; dylib.binaryPath = match.captured(1); dylib.compatibilityVersion = QVersionNumber::fromString(match.captured(2));