From 6e8a37a4c48156b37550a667939156039d4d6a91 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 20 Mar 2017 00:54:01 +0100 Subject: [PATCH] sigrok-native-appimage: Add missing Qt5 dependencies. --- cross-compile/appimage/sigrok-native-appimage | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2