summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-02-03 12:43:28 +0100
committerKai Koehne <kai.koehne@qt.io>2017-02-08 09:27:34 +0000
commitb24821ad3facc6f8e2a40edacba27cb888e878f8 (patch)
tree72249c4bfdb6be39e029da338cf60e8684ce3cc7
parenteedfd806debaa8a27dbe4c50362e2a63526a2e98 (diff)
Install binaries into $$INSTALL_PREFIX
Fix packaging in COIN by allowing the installation path to be tweaked through the INSTALL_PREFIX variable. At the same time, add an install step for desktop builds. Change-Id: I9c81c3104cf6cb83e9f476a8a7f44e7799dccae1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
-rw-r--r--src/src.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/src.pro b/src/src.pro
index 79e4bdc..f076b73 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -37,7 +37,11 @@ RESOURCES += resources.qrc
SOURCES += touchmockingapplication.cpp
HEADERS += touchmockingapplication.h
QT += gui-private
+ isEmpty(INSTALL_PREFIX): INSTALL_PREFIX=/usr/local/bin
} else {
- target.path =/data/user/qt/qtwebbrowser-app
- INSTALLS += target
+ # Path for Qt for Device Creation
+ isEmpty(INSTALL_PREFIX): INSTALL_PREFIX=/data/user/qt/qtwebbrowser-app
}
+
+target.path = $$INSTALL_PREFIX
+INSTALLS += target