#!/bin/sh
binpath=$(dirname "$(readlink -f "$0")")
appname=$(basename "$0" .sh)
export LD_LIBRARY_PATH="$binpath/bin":"$binpath/bin/plugins":$LD_LIBRARY_PATH
"$binpath/bin/$appname" "$@"

#!/bin/sh
binpath=$(dirname "$(readlink -f "$0")")
appname=$(basename "$0" .sh)
export LD_LIBRARY_PATH="$binpath/bin":"$binpath/bin/plugins":$LD_LIBRARY_PATH
export QT_PLUGIN_PATH="$binpath/bin":"$binpath/bin/plugins"
"$binpath/bin/$appname" "$@"

Add QT_PLUGIN_PATH to application start scripts
Add QT_PLUGIN_PATH to application start scripts

Summary: Set QT_PLUGIN_PATH to point to installer directory

Test Plan: -

Reviewers: O1 MITK Core, kislinsk

Reviewed By: O1 MITK Core, kislinsk

Maniphest Tasks: T26168

Differential Revision: https://phabricator.mitk.org/D191
