From 456ec4ac9560ba184e1a20ee491b0365713edadb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 26 Nov 2019 21:34:49 -0800 Subject: qt5-creator, qtbase: Replace python with python3 Ensure py3 is used during build Signed-off-by: Khem Raj --- recipes-qt/qt5/qt5-creator_git.bb | 2 +- recipes-qt/qt5/qtbase_git.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-qt/qt5/qt5-creator_git.bb b/recipes-qt/qt5/qt5-creator_git.bb index a3960042..a2717ee6 100644 --- a/recipes-qt/qt5/qt5-creator_git.bb +++ b/recipes-qt/qt5/qt5-creator_git.bb @@ -66,7 +66,7 @@ FILES_${PN}-dev += " \ ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ " -RDEPENDS_${PN} += "perl python" +RDEPENDS_${PN} += "perl python3" RCONFLICTS_${PN} = "qt-creator" # To give best user experience out of the box.. diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 1b9bb0a9..f4f0919c 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -268,8 +268,8 @@ do_install_append() { generate_target_qt_config_file ${D}${OE_QMAKE_PATH_BINS}/qt.conf - # Fix up absolute paths in scripts - sed -i -e '1s,#!/usr/bin/python,#! ${USRBINPATH}/env python,' \ + # Fix up absolute paths in scripts and use python3 instead of python + sed -i -e '1s,#!/usr/bin/python$,#! ${USRBINPATH}/env python3,' \ ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/uikit/devices.py } -- cgit v1.2.3-54-g00ecf