From: Soeren Apel Date: Fri, 23 Aug 2024 11:46:46 +0000 (+0200) Subject: sigrok-macos-create-dmg.sh: Copy QtDBus framework files X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b381fd4b12b586765f0f3018c3fa6732ddfd2792;p=sigrok-build.git sigrok-macos-create-dmg.sh: Copy QtDBus framework files --- diff --git a/ci/macos/sigrok-macos-create-dmg.sh b/ci/macos/sigrok-macos-create-dmg.sh index bb20c70..8f61f15 100755 --- a/ci/macos/sigrok-macos-create-dmg.sh +++ b/ci/macos/sigrok-macos-create-dmg.sh @@ -32,8 +32,8 @@ QT_VER_PATH=$(echo $QT_VER | sed 's# #/#') # Path to Qt5 binaries QT_BIN_DIR=$(brew list "$BREW_QT_VERSION" | grep bin | head -n 1 | xargs dirname) -QT_TRANSLATIONS_DIR=$(brew --cellar)/$QT_VER_PATH/share/qt/translations - +QT_DIR=$(brew --cellar)/$QT_VER_PATH +QT_TRANSLATIONS_DIR=$QT_DIR/share/qt/translations # Path to Python 3 framework PYTHON_FRAMEWORK_DIR=$(brew list "$BREW_PYTHON_VERSION" | grep Python.framework/Python | head -n 1 | xargs dirname) @@ -73,6 +73,9 @@ if [ "$ARTIFACT_BIN_NAME" = "pulseview" ]; then # cp $BOOSTLIBDIR/libboost_timer-mt.dylib $FRAMEWORKS_DIR # cp $BOOSTLIBDIR/libboost_chrono-mt.dylib $FRAMEWORKS_DIR # chmod 644 $FRAMEWORKS_DIR/*boost* + + # Copy QtDBus framework files + cp -r $QT_DIR/Frameworks/QtDBus.framework $FRAMEWORKS_DIR/ fi "$QT_BIN_DIR"/macdeployqt $ARTIFACT_TITLE.app