summaryrefslogtreecommitdiff
path: root/bin/qtcreator
blob: bf2b18b98965b5a654c22449f515dc0c92aee72a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

bindir=$(dirname "$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+"$@"}