forked from qt-creator/qt-creator
Bug reported and fix suggested by catanzag on Qt Labs blog. Thanks! Reviewed By: Thorbjorn Lindeijer <thorbjorn.lindeijer@nokia.com>
10 lines
282 B
Bash
Executable File
10 lines
282 B
Bash
Executable File
#!/bin/sh
|
|
|
|
bindir=$(dirname "$(readlink -nf $0)")
|
|
if test "$(uname -m)" = "x86_64" ; then
|
|
libdir=$(cd "${bindir}/../lib64" ; pwd)
|
|
else
|
|
libdir=$(cd "${bindir}/../lib" ; pwd)
|
|
fi
|
|
LD_LIBRARY_PATH="${libdir}/qtcreator:${LD_LIBRARY_PATH}" exec "${bindir}/qtcreator.bin" ${1+"$@"}
|