diff options
Diffstat (limited to 'user/qt5-qtdeclarative/python3.patch')
-rw-r--r-- | user/qt5-qtdeclarative/python3.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/qt5-qtdeclarative/python3.patch b/user/qt5-qtdeclarative/python3.patch new file mode 100644 index 000000000..2d67290bb --- /dev/null +++ b/user/qt5-qtdeclarative/python3.patch @@ -0,0 +1,31 @@ +--- qtdeclarative-opensource-src-5.9.7/qtdeclarative.pro.old 2018-10-05 19:31:02.000000000 +0000 ++++ qtdeclarative-opensource-src-5.9.7/qtdeclarative.pro 2019-03-11 17:20:24.100000000 +0000 +@@ -2,7 +2,7 @@ + load(qt_parts) + + !python_available { +- py_out = $$system('python -c "print(1)"') ++ py_out = $$system('python3 -c "print(1)"') + !equals(py_out, 1): error("Building QtQml requires Python.") + tmp = python_available + CONFIG += $$tmp +--- qtdeclarative-opensource-src-5.9.7/src/3rdparty/masm/masm.pri.old 2018-10-05 19:31:02.000000000 +0000 ++++ qtdeclarative-opensource-src-5.9.7/src/3rdparty/masm/masm.pri 2019-03-11 17:20:02.330000000 +0000 +@@ -58,7 +58,7 @@ + udis86.output = udis86_itab.h + udis86.input = ITAB + udis86.CONFIG += no_link +- udis86.commands = python $$PWD/disassembler/udis86/itab.py ${QMAKE_FILE_IN} ++ udis86.commands = python3 $$PWD/disassembler/udis86/itab.py ${QMAKE_FILE_IN} + QMAKE_EXTRA_COMPILERS += udis86 + + udis86_tab_cfile.target = $$OUT_PWD/udis86_itab.c +@@ -110,7 +110,7 @@ + retgen.script = $$PWD/create_regex_tables + retgen.input = retgen.script + retgen.CONFIG += no_link +-retgen.commands = python $$retgen.script > ${QMAKE_FILE_OUT} ++retgen.commands = python3 $$retgen.script > ${QMAKE_FILE_OUT} + QMAKE_EXTRA_COMPILERS += retgen + + # Taken from WebKit/Tools/qmake/mkspecs/features/unix/default_post.prf |