diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-02-03 12:43:28 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-02-08 09:27:34 +0000 |
commit | b24821ad3facc6f8e2a40edacba27cb888e878f8 (patch) | |
tree | 72249c4bfdb6be39e029da338cf60e8684ce3cc7 | |
parent | eedfd806debaa8a27dbe4c50362e2a63526a2e98 (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.pro | 8 |
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 |