aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-05-08 11:01:18 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2019-07-08 14:25:24 +0200
commit076c63c14d66754d0fb3567690c2c140f812fb50 (patch)
tree4d3fa899fc2a9758aa0711dceeb2ea5d360ab2ab
parent5e6dbf52104976ed47adecd934bc5cc2fbbdfad9 (diff)
ivigenerator: Fix the timing issue when install the virtualenv
On macos we need a additional install rule to make sure the hidden .Python library is installed into the virtualenv as well. This needs to be done after the virtualenv has been installed, as otherwise the virtualenv might not be copied because the folder already exists. Change-Id: Id6c467dccd5bcc5db77fc647c6c48ff24f784983 Fixes: AUTOSUITE-950 Fixes: AUTOSUITE-1012 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
-rw-r--r--src/tools/ivigenerator/qface_internal_build.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/ivigenerator/qface_internal_build.pri b/src/tools/ivigenerator/qface_internal_build.pri
index ab71377..99b84a7 100644
--- a/src/tools/ivigenerator/qface_internal_build.pri
+++ b/src/tools/ivigenerator/qface_internal_build.pri
@@ -93,6 +93,7 @@ equals(QMAKE_HOST.os, Darwin) {
# In case the file doesn't exist, touch creates it and fixes the install target
virtualenv-python.extra = @touch $$OUT_PWD/qtivi_qface_virtualenv/.Python
virtualenv-python.CONFIG = no_check_exist
+ virtualenv-python.depends = install_virtualenv
INSTALLS += virtualenv-python
}