diff deploy/osx/copy-qt.sh @ 1432:2451e7bb90af levelpanwidget

Small OSX fixes
author Chris Cannam
date Thu, 15 Dec 2016 11:02:25 +0000
parents 1e63105fc82d
children f7acd0c9ee8d
line wrap: on
line diff
--- a/deploy/osx/copy-qt.sh	Thu Dec 15 10:36:41 2016 +0000
+++ b/deploy/osx/copy-qt.sh	Thu Dec 15 11:02:25 2016 +0000
@@ -29,6 +29,12 @@
 echo
 echo "Copying frameworks..."
 for fwk in $frameworks; do
+    if [ ! -d "$qtdir/lib/$fwk.framework" ]; then
+	if [ "$fwk" = "QtDBus" ]; then
+	    echo "QtDBus.framework not found, assuming Qt was built without DBus support"
+	    continue
+	fi
+    fi
     cp -v "$qtdir/lib/$fwk.framework/$fwk" "$fdir" || exit 2
 done