diff deploy/osx/paths.sh @ 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 451d3c087112
children 5462ac97d28f
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