Mercurial > hg > sonic-visualiser
changeset 562:4481a2ca375d
Update for Qt5 (even though we aren't going to use it on OS/X in this release)
author | Chris Cannam |
---|---|
date | Tue, 14 May 2013 12:28:49 +0100 |
parents | d3c62bcd3996 |
children | a3a08ebfb68c |
files | deploy/osx/paths.sh |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/deploy/osx/paths.sh Mon May 13 14:45:37 2013 +0100 +++ b/deploy/osx/paths.sh Tue May 14 12:28:49 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