From: Uwe Hermann Date: Sun, 19 Mar 2017 23:54:01 +0000 (+0100) Subject: sigrok-native-appimage: Add missing Qt5 dependencies. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6e8a37a4c48156b37550a667939156039d4d6a91;p=sigrok-util.git sigrok-native-appimage: Add missing Qt5 dependencies. --- diff --git a/cross-compile/appimage/sigrok-native-appimage b/cross-compile/appimage/sigrok-native-appimage index dd92d7c..f9c6309 100755 --- a/cross-compile/appimage/sigrok-native-appimage +++ b/cross-compile/appimage/sigrok-native-appimage @@ -80,6 +80,10 @@ cp -r $QT5PLUGINS/imageformats .$QT5PLUGINS cp -r $QT5PLUGINS/platforminputcontexts .$QT5PLUGINS cp -r $QT5PLUGINS/platforms .$QT5PLUGINS +# Get some additional dependencies of the Qt5 plugins. +ldd .$QT5PLUGINS/platforms/libqxcb.so | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true +ldd .$QT5PLUGINS/imageformats/libqsvg.so | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true + # Python 3 cp /usr/lib/x86_64-linux-gnu/libpython$PYVER* ./usr/lib mkdir -p ./usr/share/pyshared