Specify absolute path to macdeployqt

This script receives the QT_INSTALL_BINS directory as an input argument,
so make use of it so that the caller does not need to have that path in
the PATH in order to find macdeployqt.

Change-Id: I5e5197104119a19ecda83c3bbc256f3fe492c0a6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jake Petroules
2017-04-06 18:48:32 -07:00
parent 8c7079dd24
commit b377130509

View File

@@ -134,9 +134,9 @@ if [ ! -d "$app_path/Contents/Frameworks/QtCore.framework" ]; then
qbsapp="$app_path/Contents/MacOS/qbs"
echo "- Running macdeployqt ($(which macdeployqt))"
echo "- Running macdeployqt ($bin_src/macdeployqt)"
macdeployqt "$app_path" \
"$bin_src/macdeployqt" "$app_path" \
"-executable=$app_path/Contents/MacOS/qtdiag" \
"-executable=$resource_path/qtpromaker" \
"-executable=$resource_path/sdktool" \