Skip to content

Commit

Permalink
fix deploy x86 macos
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuntoni committed Feb 2, 2024
1 parent 2e9ef54 commit b79e0d4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/macOS/internal/2a_appbundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,16 @@ do
ARGUMENTS="${ARGUMENTS} -executable=${plugin}"
done

QT_BASE_DIR=""

# if QT_DIR is not empty
if [ -n "$QT_DIR" ]; then
# set QT_BASE_DIR to the path of QT_DIR/bin
QT_BASE_DIR="${QT_DIR}/bin/"
fi

# save in message the output of macdeployqt
message=$(${QT_DIR}/bin/macdeployqt $INSTALL_PATH/$APPNAME \
message=$(${QT_BASE_DIR}macdeployqt $INSTALL_PATH/$APPNAME \
$ARGUMENTS 2>&1)

# if message contains "ERROR" then macdeployqt failed
Expand Down

0 comments on commit b79e0d4

Please sign in to comment.