diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2020-03-06 12:32:13 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2020-03-10 09:03:25 +0200 |
commit | 5114e3057ceb4afc7f2ae9f71bb351f9e5c7f553 (patch) | |
tree | 970f133c757794bcdc024acff5e053ca621ad47d /recipes-qt/qt5/qtdeclarative/0002-Use-python3-explicitly.patch | |
parent | c29bdf41c4494e278a17a233048205bf212e040f (diff) | |
parent | de2ecaa13fde8f30b1a6558bbbbdfecfd3cd4bd8 (diff) | |
download | meta-qt5-5114e3057ceb4afc7f2ae9f71bb351f9e5c7f553.tar.gz |
Merge remote-tracking branch 'qt/5.14' into 5.15
* qt/5.14:
de2ecaa1 coin: update module_config.yaml with meta-python2 support
f9a58d62 Merge remote-tracking branch 'qt/upstream/master' into 5.14
2da972e5 qt5: update submodules
9be6548e qt5: update submodules
b5e4f925 qtquicktimeline: add recipe
abb42351 (qt/upstream/master) qtwebview: Skip if meta-python is not present
caf09cd5 Add PyQtChart.
f18d5948 qtbase: fix build with platform where FE macro are not defined
c8cd55b0 qtwebkit: build with python3
0bbd0ebe qtwebengine: Link libatomic on x86/32bit
23914740 Revert "qtwebkit: remove"
8cadcbcb qt5: upgrade to 5.14.1
f13a3cec packagegroup-qt5-toolchain-target: Use TUNE_PKGARCH instead of MACHINE_ARCH
a35403dc qtwebkit: remove
a797f85c python-pyqt5, qtwebengine, qtwebkit, qt-kiosk-browser: skip without meta-python2
b1f4f1fd Revert "recipes: Use python3 during build"
47fb26de recipes: Use python3 during build
4060f68d qt-kiosk-browser: Only support arm/x86
fd376e15 qtwebengine: Fix missing headers found in build with clang
7f324f11 gstreamer1.0-plugins-good: Adjust bbappend for meson migration in core
1365691f qttools: remove ptest installation
254576f9 qt-kiosk-browser: Add recipe
47399df9 nativesdk-packagegroup: fix cmake builds using sdk
Conflicts:
recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
recipes-qt/qt5/nativesdk-qtbase_git.bb
recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
recipes-qt/qt5/qt3d_git.bb
recipes-qt/qt5/qtbase-native_git.bb
recipes-qt/qt5/qtbase_git.bb
recipes-qt/qt5/qtcharts_git.bb
recipes-qt/qt5/qtcoap_git.bb
recipes-qt/qt5/qtconnectivity_git.bb
recipes-qt/qt5/qtdeclarative_git.bb
recipes-qt/qt5/qtimageformats_git.bb
recipes-qt/qt5/qtknx_git.bb
recipes-qt/qt5/qtlocation_git.bb
recipes-qt/qt5/qtmultimedia_git.bb
recipes-qt/qt5/qtquick3d_git.bb
recipes-qt/qt5/qtquickcontrols2_git.bb
recipes-qt/qt5/qtremoteobjects_git.bb
recipes-qt/qt5/qtscript_git.bb
recipes-qt/qt5/qtserialbus_git.bb
recipes-qt/qt5/qtsvg_git.bb
recipes-qt/qt5/qttools_git.bb
recipes-qt/qt5/qtwebengine_git.bb
recipes-qt/qt5/qtwebsockets_git.bb
recipes-qt/qt5/qtwebview_git.bb
Change-Id: I41b3b999dc1278342e33dda3b66af1990e8da090
Diffstat (limited to 'recipes-qt/qt5/qtdeclarative/0002-Use-python3-explicitly.patch')
-rw-r--r-- | recipes-qt/qt5/qtdeclarative/0002-Use-python3-explicitly.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtdeclarative/0002-Use-python3-explicitly.patch b/recipes-qt/qt5/qtdeclarative/0002-Use-python3-explicitly.patch new file mode 100644 index 00000000..f55812b6 --- /dev/null +++ b/recipes-qt/qt5/qtdeclarative/0002-Use-python3-explicitly.patch | |||
@@ -0,0 +1,57 @@ | |||
1 | From 838fb4676f78d169dc88f87544cf1a4003302aea Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 26 Nov 2019 21:10:03 -0800 | ||
4 | Subject: [PATCH] Use python3 explicitly | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | qtdeclarative.pro | 2 +- | ||
9 | src/3rdparty/masm/masm.pri | 4 ++-- | ||
10 | tests/auto/qml/ecmascripttests/test262.py | 2 +- | ||
11 | 3 files changed, 4 insertions(+), 4 deletions(-) | ||
12 | |||
13 | diff --git a/qtdeclarative.pro b/qtdeclarative.pro | ||
14 | index 5b94da9b69..0e3496ce80 100644 | ||
15 | --- a/qtdeclarative.pro | ||
16 | +++ b/qtdeclarative.pro | ||
17 | @@ -2,7 +2,7 @@ CONFIG += tests_need_tools examples_need_tools | ||
18 | load(qt_parts) | ||
19 | |||
20 | !python_available { | ||
21 | - py_out = $$system('python -c "print(1)"') | ||
22 | + py_out = $$system('python3 -c "print(1)"') | ||
23 | !equals(py_out, 1): error("Building QtQml requires Python.") | ||
24 | tmp = python_available | ||
25 | CONFIG += $$tmp | ||
26 | diff --git a/src/3rdparty/masm/masm.pri b/src/3rdparty/masm/masm.pri | ||
27 | index 1df4585aae..00038104ec 100644 | ||
28 | --- a/src/3rdparty/masm/masm.pri | ||
29 | +++ b/src/3rdparty/masm/masm.pri | ||
30 | @@ -58,7 +58,7 @@ contains(DEFINES, WTF_USE_UDIS86=1) { | ||
31 | udis86.output = udis86_itab.h | ||
32 | udis86.input = ITAB | ||
33 | udis86.CONFIG += no_link | ||
34 | - udis86.commands = python $$PWD/disassembler/udis86/itab.py ${QMAKE_FILE_IN} | ||
35 | + udis86.commands = python3 $$PWD/disassembler/udis86/itab.py ${QMAKE_FILE_IN} | ||
36 | QMAKE_EXTRA_COMPILERS += udis86 | ||
37 | |||
38 | udis86_tab_cfile.target = $$OUT_PWD/udis86_itab.c | ||
39 | @@ -111,7 +111,7 @@ retgen.output = $$GENERATEDDIR/RegExpJitTables.h | ||
40 | retgen.script = $$PWD/yarr/create_regex_tables | ||
41 | retgen.input = retgen.script | ||
42 | retgen.CONFIG += no_link | ||
43 | -retgen.commands = python $$retgen.script > ${QMAKE_FILE_OUT} | ||
44 | +retgen.commands = python3 $$retgen.script > ${QMAKE_FILE_OUT} | ||
45 | QMAKE_EXTRA_COMPILERS += retgen | ||
46 | |||
47 | # Taken from WebKit/Tools/qmake/mkspecs/features/unix/default_post.prf | ||
48 | diff --git a/tests/auto/qml/ecmascripttests/test262.py b/tests/auto/qml/ecmascripttests/test262.py | ||
49 | index 19551e3ba2..bf3f79a45f 100755 | ||
50 | --- a/tests/auto/qml/ecmascripttests/test262.py | ||
51 | +++ b/tests/auto/qml/ecmascripttests/test262.py | ||
52 | @@ -1,4 +1,4 @@ | ||
53 | -#!/usr/bin/env python | ||
54 | +#!/usr/bin/env python3 | ||
55 | ############################################################################# | ||
56 | ## | ||
57 | ## Copyright (C) 2017 The Qt Company Ltd. | ||