From 9c4488313e0aa9a6f42f57013462aa2433a78fcb Mon Sep 17 00:00:00 2001 From: fanglinxu Date: Wed, 24 Apr 2024 09:54:24 +0800 Subject: [PATCH] qtwebengine: decouple python2 * qtwebengine can support python 3 and decouple python 2 Signed-off-by: fanglinxu --- recipes-qt/qt5/qtwebengine_git.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 7f368d9..91d03ab 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb @@ -88,10 +88,11 @@ inherit features_check inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "pythonnative", "", d)} -python() { - if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): - raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') -} +# python 3 can also be used, not need here +# python() { +# if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): +# raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') +# } # Static builds of QtWebEngine aren't supported. -- Gitee