# HG changeset patch # User Chris Cannam # Date 1368530929 -3600 # Node ID 4481a2ca375db6b9a69352023a8434125c418e91 # Parent d3c62bcd3996bd1936ad64eb6125935e14e53292 Update for Qt5 (even though we aren't going to use it on OS/X in this release) diff -r d3c62bcd3996 -r 4481a2ca375d deploy/osx/paths.sh --- 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