OSDN Git Service

Remove LD_LIBRARY_PATH script.
authordt <qtc-committer@nokia.com>
Tue, 22 Jun 2010 10:41:20 +0000 (12:41 +0200)
committerdt <qtc-committer@nokia.com>
Tue, 22 Jun 2010 10:47:04 +0000 (12:47 +0200)
Christian Kamm convinced me that it should not have any effect.

Reviewed-By: ckamm
Task-Nr: QTCREATORBUG-1646

bin/bin.pro [deleted file]
bin/qtcreator [deleted file]
qtcreator.pri
qtcreator.pro

diff --git a/bin/bin.pro b/bin/bin.pro
deleted file mode 100644 (file)
index 959be0a..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-include(../qtcreator.pri)
-
-TEMPLATE = app
-TARGET = $$IDE_APP_WRAPPER
-OBJECTS_DIR =
-
-PRE_TARGETDEPS = $$PWD/qtcreator
-
-QMAKE_LINK = cp $$PWD/qtcreator $@ && : IGNORE REST
-
-QMAKE_CLEAN = $$IDE_APP_WRAPPER
-
-target.path  = /bin
-INSTALLS    += target
diff --git a/bin/qtcreator b/bin/qtcreator
deleted file mode 100755 (executable)
index c9f5142..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-makeAbsolute() {
-    case "$1" in
-       /*)
-           # already absolute, return it
-           echo "$1"
-           ;;
-       *)
-           # relative, prepend $2 made absolute
-           echo `makeAbsolute "$2" "$PWD"`/"$1" | sed 's,/\.$,,'
-           ;;
-    esac
-}
-
-if test -L "$0"; then
-    # Try readlink(1)
-    readlink=`type readlink 2>/dev/null` || readlink=
-    if test -n "$readlink"; then
-       # We have readlink(1), so we can use it
-       me=`readlink -nf "$0"`
-    else
-       # No readlink(1), so let's try ls -l
-       me=`ls -l "$0" | sed 's/^.*-> //'`
-       base=`dirname "$0"`
-       me=`makeAbsolute "$me" "$base"`
-    fi
-else
-    me="$0"
-fi
-
-bindir=`dirname "$me"`
-libdir=`cd "${bindir}/../lib" ; pwd`
-LD_LIBRARY_PATH="${libdir}:${libdir}/qtcreator:${LD_LIBRARY_PATH}"
-export LD_LIBRARY_PATH
-exec "${bindir}/qtcreator.bin" ${1+"$@"}
index b4ca541..dfae8f9 100644 (file)
@@ -67,8 +67,7 @@ macx {
         contains(TEMPLATE, vc.*)|contains(TEMPLATE_PREFIX, vc):vcproj = 1
         IDE_APP_TARGET   = qtcreator
     } else {
-        IDE_APP_WRAPPER  = qtcreator
-        IDE_APP_TARGET   = qtcreator.bin
+        IDE_APP_TARGET   = qtcreator
     }
     IDE_LIBRARY_PATH = $$IDE_BUILD_TREE/$$IDE_LIBRARY_BASENAME/qtcreator
     IDE_PLUGIN_PATH  = $$IDE_LIBRARY_PATH/plugins
index 6593c0f..d6ee82b 100644 (file)
@@ -11,4 +11,3 @@ TEMPLATE  = subdirs
 CONFIG   += ordered
 
 SUBDIRS = src share
-unix:!macx:!isEmpty(copydata):SUBDIRS += bin