From cfef926777bd7b9a48f9946d2b1c46ef68a3af7d Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 9 Mar 2016 14:05:04 +0100 Subject: Fix error message when Python could not be found The python script works with Python 2 as well as version 3. Task-number: QTBUG-51753 Change-Id: I630b7b1811e9896e30b7ba75af972552f1063eff Reviewed-by: Oswald Buddenhagen --- qtdeclarative.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtdeclarative.pro b/qtdeclarative.pro index 0e746c3c65..5b94da9b69 100644 --- a/qtdeclarative.pro +++ b/qtdeclarative.pro @@ -3,7 +3,7 @@ load(qt_parts) !python_available { py_out = $$system('python -c "print(1)"') - !equals(py_out, 1): error("Building QtQml requires Python version 2.") + !equals(py_out, 1): error("Building QtQml requires Python.") tmp = python_available CONFIG += $$tmp cache(CONFIG, add, tmp) -- cgit v1.2.3