aboutsummaryrefslogtreecommitdiffstats
path: root/qtdeclarative.pro
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-05-07 10:35:35 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-18 18:37:29 +0200
commit1c6a70e1880a8fe0f3d8da4932c4f3533693219c (patch)
tree34bf768b98af5beaf21008fe2a92e5ec37535660 /qtdeclarative.pro
parent73ab6292cd514fb188f0ba38654709f33bba4946 (diff)
Port python check to configure system
Also check for py, python2, python3 executables. Task-number: QTBUG-72926 Fixes: QTBUG-84038 Change-Id: I844db4dd630d9b3025eca529ee57565b600ebbac Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 2b41025fc967b37c8bff77c4b75bab333ae13f46) Reviewed-by: Kai Koehne <kai.koehne@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 5b94da9b69..e924331929 100644
--- a/qtdeclarative.pro
+++ b/qtdeclarative.pro
@@ -1,10 +1,2 @@
CONFIG += tests_need_tools examples_need_tools
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)
-}