diff options
Diffstat (limited to 'bin/qtcreator.sh')
-rwxr-xr-x | bin/qtcreator.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/qtcreator.sh b/bin/qtcreator.sh index 80fc4499c96..86826f1e3b0 100755 --- a/bin/qtcreator.sh +++ b/bin/qtcreator.sh @@ -39,6 +39,7 @@ if test -d "$qtlibdir"; then qtlibpath=:$qtlibdir fi # Add Qt Creator library path +_ORIGINAL_LD_LIBRARY_PATH=$LD_LIBRARY_PATH LD_LIBRARY_PATH=$libdir:$libdir/qtcreator$qtlibpath${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} export LD_LIBRARY_PATH -exec "$bindir/qtcreator" ${1+"$@"} +exec "$bindir/qtcreator" -user-library-path "$_ORIGINAL_LD_LIBRARY_PATH" ${1+"$@"} |