Tests: Replace SSH scripting crutch with proper rpath solution.

Change-Id: Ieae3099d5fe2f69415a86a0e2155d30b699fa3c4
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Christian Kandeler
2011-11-21 11:07:57 +01:00
parent ab45b7e663
commit abd98ebeaa
2 changed files with 4 additions and 11 deletions

View File

@@ -1,5 +0,0 @@
#!/bin/sh
dir_name=`dirname $0`
exec=`basename $dir_name`
LD_LIBRARY_PATH=../../../lib/qtcreator:../../../lib/qtcreator/plugins/Nokia:$LD_LIBRARY_PATH "$dir_name/$exec" "$@"

View File

@@ -6,6 +6,10 @@ LIBS += -L$$IDE_PLUGIN_PATH/Nokia
macx:QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_BIN_PATH/..\"
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/plugins
LIBS *= -L$$IDE_LIBRARY_PATH/Nokia
unix {
QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_PLUGIN_PATH/..\"
QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_PLUGIN_PATH/Nokia\"
}
QT += core
QT -= gui
@@ -15,9 +19,3 @@ TEMPLATE = app
DEPENDPATH+=.
INCLUDEPATH+=.
unix {
copy_script.commands = cp -a $${PWD}/call.sh $$OUT_PWD/$${TARGET}.sh
first.depends = $(first) copy_script
QMAKE_EXTRA_TARGETS += first copy_script
}