aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2021-05-06 11:52:25 +0200
committerDominik Holland <dominik.holland@qt.io>2021-05-10 11:23:29 +0200
commitbcf30ada4f746885e42542bcb3ca807240b93f2c (patch)
treefd965221b29de6c06958868f91c2fa8161f71484
parent15c3e2214692c58e287118ce61eba8579069c7b8 (diff)
ivigenerator: Remove the coin test workaround in the ivigenerator.prf
Change-Id: I0d9b57f7b14f5d405147ed8f2304e641f717bc9e Reviewed-by: Robert Griebl <robert.griebl@qt.io>
-rw-r--r--mkspecs/features/ivigenerator.prf3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf
index 4ad8a09..3d66e50 100644
--- a/mkspecs/features/ivigenerator.prf
+++ b/mkspecs/features/ivigenerator.prf
@@ -39,12 +39,11 @@ else: ENV = LC_ALL="en_US.UTF-8"
VIRTUALENV_PATH = $$[QT_HOST_BINS]/ivigenerator/qtivi_qface_virtualenv
INTERNAL_VIRTUALENV_PATH = $$QTIVI_BUILD_ROOT/src/tools/ivigenerator/qtivi_qface_virtualenv
IVI_GENERATOR_PATH = $$[QT_HOST_BINS]/ivigenerator
-QTEST_ENVIRONMENT = $$upper($$(QTEST_ENVIRONMENT))
# Try to use the internal virtualenv when building qtivi
# Because of the two stage build of COIN, it might not exist, but the installed version should still be there
QT_FOR_CONFIG *= ivicore-private
-!isEmpty(QTIVI_BUILD_ROOT):!equals(QTEST_ENVIRONMENT, CI):!qtConfig(system-ivigenerator) {
+!isEmpty(QTIVI_BUILD_ROOT):!qtConfig(system-ivigenerator):exists($$INTERNAL_VIRTUALENV_PATH) {
VIRTUALENV_PATH = $$INTERNAL_VIRTUALENV_PATH
IVI_GENERATOR_PATH = $$QTIVI_ROOT/src/tools/ivigenerator
equals(QMAKE_HOST.os, Windows): ENV += set IVIGENERATOR_CONFIG="$$system_path($$QTIVI_BUILD_ROOT/src/tools/ivigenerator/.config)" &&