aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/app.pro
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2012-09-03 18:24:02 +0200
committerDaniel Molkentin <daniel.molkentin@nokia.com>2012-09-05 16:37:42 +0200
commitc29bf6f6525d435d69936576761b4a29102cd056 (patch)
tree3458e1bb423c568fcbd7799dcac1876a89047470 /src/app/app.pro
parentd1b65bbf837cfd4f8b655f55633afdcfe1ebe1e8 (diff)
Introduce $$QTC_PREFIX instead of abusing $(INSTALL_ROOT).
Reason: $INSTALL_ROOT is only meant to be used by packagers to temporarily put the contents into a different location, which is needed for fakeroot packaging. QTC_PREFIX is not a qmake variable, and defaults to /usr/local. On Windows the default prefix is "QtCreator", since "make install" is expected to be used in a packaging context only where either INSTALL_ROOT should be used or QTC_PREFIX should be set to the absolute destination path where e.g. an installer generator will pick it up. Change-Id: Ifa4950340e58e34726c53f5417adcc7b50828ce1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/app/app.pro')
-rw-r--r--src/app/app.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/app.pro b/src/app/app.pro
index 896b2cc884..a2a666dd1d 100644
--- a/src/app/app.pro
+++ b/src/app/app.pro
@@ -17,7 +17,7 @@ QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH)
}
win32 {
RC_FILE = qtcreator.rc
- target.path = /bin
+ target.path = $$QTC_PREFIX/bin
INSTALLS += target
} else:macx {
LIBS += -framework CoreFoundation
@@ -29,7 +29,7 @@ win32 {
info.output = $$IDE_BIN_PATH/../Info.plist
QMAKE_SUBSTITUTES = info
} else {
- target.path = /bin
+ target.path = $$QTC_PREFIX/bin
INSTALLS += target
}