From 9dd84323df5c0ca1f0014d5c95c8771e69d1e9a0 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 4 Sep 2015 13:47:44 +0200 Subject: Use variables for install locations Define variables in qtcreator.pri for the various install locations, instead of hardcoding the paths everywhere where they are needed. Change-Id: Ia34de711a7f2be317272ede023e2a8b9cdcc30fe Reviewed-by: Oswald Buddenhagen Reviewed-by: Christian Kandeler --- bin/bin.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/bin.pro b/bin/bin.pro index 5f17ff9fd5..cf3d061ff5 100644 --- a/bin/bin.pro +++ b/bin/bin.pro @@ -1,5 +1,8 @@ TEMPLATE = app TARGET = qtcreator.sh + +include(../qtcreator.pri) + OBJECTS_DIR = PRE_TARGETDEPS = $$PWD/qtcreator.sh @@ -10,7 +13,7 @@ CONFIG -= qt separate_debug_info gdb_dwarf_index QMAKE_CLEAN = qtcreator.sh -target.path = $$QTC_PREFIX/bin +target.path = $$INSTALL_BIN_PATH INSTALLS += target DISTFILES = $$PWD/qtcreator.sh -- cgit v1.2.3