From: Uwe Hermann Date: Sun, 19 Mar 2017 20:09:29 +0000 (+0100) Subject: sigrok-native-appimage: Include all relevant Qt5 plugins. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=9b458ff9a9cf4be501cf42ec502c3fed72dea8a3 sigrok-native-appimage: Include all relevant Qt5 plugins. --- diff --git a/cross-compile/appimage/sigrok-native-appimage b/cross-compile/appimage/sigrok-native-appimage index 2815b2c..f1d74c8 100755 --- a/cross-compile/appimage/sigrok-native-appimage +++ b/cross-compile/appimage/sigrok-native-appimage @@ -68,6 +68,16 @@ cp $STATIC_FILES/sigrok-logo-notext.png . copy_deps +# Get all Qt5 plugins (won't be copied automatically). +QT5PLUGINS=/usr/lib/x86_64-linux-gnu/qt5/plugins # Host (+ AppRun) path. +mkdir -p .$QT5PLUGINS +cp -r $QT5PLUGINS/accessible .$QT5PLUGINS +cp -r $QT5PLUGINS/generic .$QT5PLUGINS +cp -r $QT5PLUGINS/iconengines .$QT5PLUGINS +cp -r $QT5PLUGINS/imageformats .$QT5PLUGINS +cp -r $QT5PLUGINS/platforminputcontexts .$QT5PLUGINS +cp -r $QT5PLUGINS/platforms .$QT5PLUGINS + ######################################################################## # Delete stuff that should not go into the AppImage ########################################################################