Mercurial > hg > sonic-visualiser
diff deploy/osx/paths.sh @ 568:96a0e169b70f with-dependencies
Merge from default branch
author | Chris Cannam <chris.cannam@eecs.qmul.ac.uk> |
---|---|
date | Tue, 14 May 2013 14:47:30 +0100 |
parents | 4481a2ca375d |
children | 5462ac97d28f |
line wrap: on
line diff
--- a/deploy/osx/paths.sh Mon May 13 11:33:51 2013 +0100 +++ b/deploy/osx/paths.sh Tue May 14 14:47:30 2013 +0100 @@ -8,7 +8,7 @@ fi echo -echo "I expect you to have already copied QtCore, QtNetwork, QtGui and QtXml to " +echo "I expect you to have already copied QtCore, QtNetwork, QtGui, QtXml and QtWidgets to " echo "$app.app/Contents/Frameworks -- expect errors to follow if they're missing" echo @@ -18,12 +18,13 @@ install_name_tool -id QtGui "$app.app/Contents/Frameworks/QtGui" install_name_tool -id QtNetwork "$app.app/Contents/Frameworks/QtNetwork" install_name_tool -id QtXml "$app.app/Contents/Frameworks/QtXml" +install_name_tool -id QtWidgets "$app.app/Contents/Frameworks/QtWidgets" find "$app.app" -name \*.dylib -print | while read x; do install_name_tool -id "`basename \"$x\"`" "$x" done -for fwk in QtCore QtGui QtNetwork QtXml QtSvg; do +for fwk in QtCore QtGui QtNetwork QtXml QtWidgets; do find "$app.app" -type f -print | while read x; do current=$(otool -L "$x" | grep "$fwk" | grep amework | awk '{ print $1; }') [ -z "$current" ] && continue