From 850102307d57f9535e3b4d47d71f06479fa19cd0 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Fri, 6 Mar 2009 09:34:00 +0100 Subject: [PATCH] Fixes: add startup script for creator Details: LD_LIBRARY_PATH setting still missing --- .gitignore | 2 +- bin/qtcreator | 3 +++ src/qworkbench.pri | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 bin/qtcreator diff --git a/.gitignore b/.gitignore index 9487adc140d..8f3ba0e8541 100644 --- a/.gitignore +++ b/.gitignore @@ -72,7 +72,7 @@ src/xml/lib/ # Binaries # -------- bin/*.dll -bin/qtcreator +bin/qtcreator.bin bin/qtcreator.exe doc/qtcreator.qch tests/manual/cplusplus/cplusplus0 diff --git a/bin/qtcreator b/bin/qtcreator new file mode 100755 index 00000000000..be657dcf8fa --- /dev/null +++ b/bin/qtcreator @@ -0,0 +1,3 @@ +#!/bin/bash + +"`dirname \"$0\"`/qtcreator.bin" ${1+"$@"} diff --git a/src/qworkbench.pri b/src/qworkbench.pri index 353846c6908..8116de86002 100644 --- a/src/qworkbench.pri +++ b/src/qworkbench.pri @@ -20,12 +20,13 @@ macx { IDE_PLUGIN_PATH = $$IDE_LIBRARY_PATH contains(QT_CONFIG, ppc):CONFIG += ppc x86 } else { - IDE_APP_TARGET = qtcreator + IDE_APP_TARGET = qtcreator.bin IDE_LIBRARY_PATH = $$IDE_BUILD_TREE/lib/qtcreator IDE_PLUGIN_PATH = $$IDE_LIBRARY_PATH/plugins/ } IDE_APP_PATH = $$IDE_BUILD_TREE/bin win32 { + IDE_APP_TARGET = qtcreator IDE_LIBRARY_PATH ~= s|/+|\| IDE_APP_PATH ~= s|/+|\| } -- GitLab