diff deploy/osx/copy-qt.sh @ 1439:3e77e9ecc520 3.0-integration

Merge from branch levelpanwidget
author Chris Cannam
date Thu, 15 Dec 2016 16:13:16 +0000
parents 2451e7bb90af
children f7acd0c9ee8d
line wrap: on
line diff
--- a/deploy/osx/copy-qt.sh	Thu Dec 15 08:58:43 2016 +0000
+++ b/deploy/osx/copy-qt.sh	Thu Dec 15 16:13:16 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