]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-native-appimage: Add missing Qt5 dependencies.
authorUwe Hermann <redacted>
Sun, 19 Mar 2017 23:54:01 +0000 (00:54 +0100)
committerUwe Hermann <redacted>
Mon, 20 Mar 2017 23:19:37 +0000 (00:19 +0100)
cross-compile/appimage/sigrok-native-appimage

index dd92d7c9955ca423c791f9adc58fa58c05e67226..f9c630900d50d81c7da8997c781d075b0d661242 100755 (executable)
@@ -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