[qt-creator/el6] Forgot to add qtcreator-bin-wrapper in the last commit

Dave Johansen daveisfera at fedoraproject.org
Tue Jan 14 03:46:50 UTC 2014


commit 6ac61188c92bce0fd98ae2969651399101db3dd2
Author: Dave Johansen <davejohansen at gmail.com>
Date:   Mon Jan 13 20:46:34 2014 -0700

    Forgot to add qtcreator-bin-wrapper in the last commit

 qtcreator-bin-wrapper |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/qtcreator-bin-wrapper b/qtcreator-bin-wrapper
new file mode 100755
index 0000000..f66b087
--- /dev/null
+++ b/qtcreator-bin-wrapper
@@ -0,0 +1,9 @@
+#!/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+"$@"}


More information about the scm-commits mailing list