diff deploy/linux/deploy-appimage.sh @ 1908:abddb04d2bf3

Use QTDIR as well
author Chris Cannam
date Fri, 29 Jun 2018 09:34:42 +0100
parents 9bd1dea5f412
children 12b96d6b1d66
line wrap: on
line diff
--- a/deploy/linux/deploy-appimage.sh	Thu Jun 28 21:24:42 2018 +0100
+++ b/deploy/linux/deploy-appimage.sh	Fri Jun 29 09:34:42 2018 +0100
@@ -78,7 +78,7 @@
 cp -v "$targetdir/usr/local/lib/"* "$targetdir/usr/lib/"
 
 qtplugins="gif icns ico jpeg tga tiff wbmp webp cocoa minimal offscreen xcb"
-qtlibdirs="/usr/lib/x86_64-linux-gnu/qt5 /usr/lib/x86_64-linux-gnu/qt /usr/lib/qt5 /usr/lib/qt"
+qtlibdirs="$QTDIR /usr/lib/x86_64-linux-gnu/qt5 /usr/lib/x86_64-linux-gnu/qt /usr/lib/qt5 /usr/lib/qt"
 
 for plug in $qtplugins; do
     for libdir in $qtlibdirs; do