diff options
author | Kai Koehne <kai.koehne@qt.io> | 2020-05-07 10:35:35 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2020-05-07 13:45:03 +0200 |
commit | 2b41025fc967b37c8bff77c4b75bab333ae13f46 (patch) | |
tree | ff6509b9a8a6b15819a5504db41314683449c357 /qtdeclarative.pro | |
parent | adfff7ec77223dfdd8c29327dc0f0181972516ef (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.pro | 8 |
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) -} |