aboutsummaryrefslogtreecommitdiffstats
path: root/qtdeclarative.pro
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-05-07 10:35:35 +0200
committerKai Koehne <kai.koehne@qt.io>2020-05-07 13:45:03 +0200
commit2b41025fc967b37c8bff77c4b75bab333ae13f46 (patch)
treeff6509b9a8a6b15819a5504db41314683449c357 /qtdeclarative.pro
parentadfff7ec77223dfdd8c29327dc0f0181972516ef (diff)
Port python check to configure system
Also check for py, python2, python3 executables. Task-number: QTBUG-72926 Fixes: QTBUG-84038 Pick-to: 5.15 Change-Id: I844db4dd630d9b3025eca529ee57565b600ebbac Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qtdeclarative.pro')
-rw-r--r--qtdeclarative.pro8
1 files changed, 0 insertions, 8 deletions
diff --git a/qtdeclarative.pro b/qtdeclarative.pro
index 84120bfd07..f76f8a7587 100644
--- a/qtdeclarative.pro
+++ b/qtdeclarative.pro
@@ -5,11 +5,3 @@ requires(qtConfig(commandlineparser))
requires(qtConfig(temporaryfile))
load(qt_parts)
-
-!python_available {
- py_out = $$system('python -c "print(1)"')
- !equals(py_out, 1): error("Building QtQml requires Python.")
- tmp = python_available
- CONFIG += $$tmp
- cache(CONFIG, add, tmp)
-}