diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2020-03-02 14:39:52 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2020-03-02 15:28:57 +0200 |
commit | f9a58d623762c5fd78bd6bc18d701a7aaa004567 (patch) | |
tree | cbb55ca0f320d53b82c69b1afe063b675a20147a /recipes-qt/qt5/qtdeclarative/0002-Use-python3-explicitly.patch | |
parent | 7637ea77fa521c348da331d103ce96ed4d8b57f5 (diff) | |
parent | abb423512d10d7554e0d62b3a593ce5e436f2756 (diff) | |
download | meta-qt5-f9a58d623762c5fd78bd6bc18d701a7aaa004567.tar.gz |
Merge remote-tracking branch 'qt/upstream/master' into 5.14
* qt/upstream/master:
abb42351 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/qt5/nativesdk-qtbase_git.bb
recipes-qt/qt5/qt3d_git.bb
recipes-qt/qt5/qt5-git.inc
recipes-qt/qt5/qtbase-native_git.bb
recipes-qt/qt5/qtbase/0017-qfloat16-check-for-__ARM_FP-2.patch
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/qtdatavis3d_git.bb
recipes-qt/qt5/qtdeclarative_git.bb
recipes-qt/qt5/qtgamepad_git.bb
recipes-qt/qt5/qtgraphicaleffects_git.bb
recipes-qt/qt5/qtknx_git.bb
recipes-qt/qt5/qtlocation_git.bb
recipes-qt/qt5/qtlottie_git.bb
recipes-qt/qt5/qtmqtt_git.bb
recipes-qt/qt5/qtmultimedia_git.bb
recipes-qt/qt5/qtnetworkauth_git.bb
recipes-qt/qt5/qtopcua_git.bb
[...] (41 conflicts)
Change-Id: Ib48e50eb939e7a8d0422c0beb75863b8a4b82b15
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. | ||