From 6b9137ac6c3f06ec7aecb9122809975ad41e7cf5 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Mon, 26 Jun 2017 16:47:37 +0200 Subject: [PATCH] Use correct Qt library path, resolves #666 --- AppImage-Recipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppImage-Recipe.sh b/AppImage-Recipe.sh index 2459bfcc1..2707fe96b 100755 --- a/AppImage-Recipe.sh +++ b/AppImage-Recipe.sh @@ -72,7 +72,7 @@ get_icon cat << EOF > ./usr/bin/keepassxc_env #!/usr/bin/env bash #export QT_QPA_PLATFORMTHEME=gtk2 -export LD_LIBRARY_PATH="../opt/qt58/lib:\${LD_LIBRARY_PATH}" +export LD_LIBRARY_PATH="..$(dirname ${QT_PLUGIN_PATH})/lib:\${LD_LIBRARY_PATH}" export QT_PLUGIN_PATH="..${QT_PLUGIN_PATH}" # unset XDG_DATA_DIRS to make tray icon work in Ubuntu Unity