From 1d06407a2176de7f92c8e427b4c55eb6577c0174 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 22 Sep 2025 05:57:04 +0000 Subject: [PATCH] examples: use matching COMPATIBLE_MACHINEs Qt module examples need to follow the same COMPATIBLE_MACHINE limitations as the module itself. Fixes: QTBUG-140246 Change-Id: I0cf68adc32c384a96517eede32972b42c53b7971 Reviewed-by: Mikko Gronoff --- recipes-qt/qt6/qtpdf-examples_git.bb | 7 +++++++ recipes-qt/qt6/qtquick3dphysics-examples_git.bb | 6 ++++++ recipes-qt/qt6/qtwebengine-examples_git.bb | 7 +++++++ recipes-qt/qt6/qtwebview-examples_git.bb | 7 +++++++ 4 files changed, 27 insertions(+) diff --git a/recipes-qt/qt6/qtpdf-examples_git.bb b/recipes-qt/qt6/qtpdf-examples_git.bb index 89488a5..1680f04 100644 --- a/recipes-qt/qt6/qtpdf-examples_git.bb +++ b/recipes-qt/qt6/qtpdf-examples_git.bb @@ -9,6 +9,13 @@ inherit features_check REQUIRED_DISTRO_FEATURES = "opengl" +COMPATIBLE_MACHINE = "(-)" +COMPATIBLE_MACHINE:aarch64 = "(.*)" +COMPATIBLE_MACHINE:armv6 = "(.*)" +COMPATIBLE_MACHINE:armv7a = "(.*)" +COMPATIBLE_MACHINE:armv7ve = "(.*)" +COMPATIBLE_MACHINE:x86-64 = "(.*)" + QT_MODULE = "qtwebengine" include recipes-qt/qt6/qt6-git.inc diff --git a/recipes-qt/qt6/qtquick3dphysics-examples_git.bb b/recipes-qt/qt6/qtquick3dphysics-examples_git.bb index 6224f0b..b1b17dd 100644 --- a/recipes-qt/qt6/qtquick3dphysics-examples_git.bb +++ b/recipes-qt/qt6/qtquick3dphysics-examples_git.bb @@ -6,6 +6,12 @@ LIC_FILES_CHKSUM = " \ inherit qt6-cmake +COMPATIBLE_MACHINE = "(-)" +COMPATIBLE_MACHINE:aarch64 = "(.*)" +COMPATIBLE_MACHINE:arm = "(.*)" +COMPATIBLE_MACHINE:x86 = "(.*)" +COMPATIBLE_MACHINE:x86-64 = "(.*)" + QT_MODULE = "qtquick3dphysics" include recipes-qt/qt6/qt6-git.inc diff --git a/recipes-qt/qt6/qtwebengine-examples_git.bb b/recipes-qt/qt6/qtwebengine-examples_git.bb index 2c0619e..93996fa 100644 --- a/recipes-qt/qt6/qtwebengine-examples_git.bb +++ b/recipes-qt/qt6/qtwebengine-examples_git.bb @@ -13,6 +13,13 @@ inherit features_check REQUIRED_DISTRO_FEATURES = "opengl" +COMPATIBLE_MACHINE = "(-)" +COMPATIBLE_MACHINE:aarch64 = "(.*)" +COMPATIBLE_MACHINE:armv6 = "(.*)" +COMPATIBLE_MACHINE:armv7a = "(.*)" +COMPATIBLE_MACHINE:armv7ve = "(.*)" +COMPATIBLE_MACHINE:x86-64 = "(.*)" + QT_MODULE = "qtwebengine" include recipes-qt/qt6/qt6-git.inc diff --git a/recipes-qt/qt6/qtwebview-examples_git.bb b/recipes-qt/qt6/qtwebview-examples_git.bb index 50078fe..c68d339 100644 --- a/recipes-qt/qt6/qtwebview-examples_git.bb +++ b/recipes-qt/qt6/qtwebview-examples_git.bb @@ -9,6 +9,13 @@ inherit features_check REQUIRED_DISTRO_FEATURES = "opengl" +COMPATIBLE_MACHINE = "(-)" +COMPATIBLE_MACHINE:aarch64 = "(.*)" +COMPATIBLE_MACHINE:armv6 = "(.*)" +COMPATIBLE_MACHINE:armv7a = "(.*)" +COMPATIBLE_MACHINE:armv7ve = "(.*)" +COMPATIBLE_MACHINE:x86-64 = "(.*)" + QT_MODULE = "qtwebview" include recipes-qt/qt6/qt6-git.inc