summaryrefslogtreecommitdiffstats
path: root/mkspecs
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
commit6e89c901934891f02176f0d2653595e07a9832b4 (patch)
tree1ae36aafe87ebd6b0fed690439fd4451c75287b2 /mkspecs
parent60f00893808ed4f4a7ac9aeebfbaee7f54bc7f4f (diff)
ivigenerator: Remove the coin test workaround in the ivigenerator.prf
Change-Id: I0d9b57f7b14f5d405147ed8f2304e641f717bc9e Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'mkspecs')
-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 4ad8a095..3d66e50c 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)" &&