]> sigrok.org Git - sigrok-build.git/commitdiff
sigrok-macos-create-dmg.sh: Copy QtDBus framework files
authorSoeren Apel <redacted>
Fri, 23 Aug 2024 11:46:46 +0000 (13:46 +0200)
committerSoeren Apel <redacted>
Fri, 23 Aug 2024 19:13:19 +0000 (21:13 +0200)
ci/macos/sigrok-macos-create-dmg.sh

index bb20c708e2716d87c6b9b89823425a34564a1e4d..8f61f15f10f5001f1ad842564e200d90140caf2b 100755 (executable)
@@ -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