From 2d2a97ab3922b3b8f148568428a3128fbe78a8c9 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Tue, 24 Mar 2026 12:01:46 +0100 Subject: [PATCH] package/qt5/qt53d: disable assimp support when BR2_PACKAGE_ASSIMP is not set If we don't disable it, the assimp module from the sources will be used instead of none. Unfortunately, it currently doesn't build so let's disable it when BR2_PACKAGE_ASSIMP is not set such that one can still build qt53d. Signed-off-by: Quentin Schulz Signed-off-by: Thomas Perale --- package/qt5/qt53d/qt53d.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/qt5/qt53d/qt53d.mk b/package/qt5/qt53d/qt53d.mk index 8d9babd704..459b019902 100644 --- a/package/qt5/qt53d/qt53d.mk +++ b/package/qt5/qt53d/qt53d.mk @@ -11,8 +11,14 @@ QT53D_DEPENDENCIES = qt5declarative QT53D_INSTALL_STAGING = YES QT53D_SYNC_QT_HEADERS = YES +# command line argument separator +QT53D_CONF_OPTS = -- + ifeq ($(BR2_PACKAGE_ASSIMP),y) QT53D_DEPENDENCIES += assimp +else +QT53D_CONF_OPTS += \ + -no-feature-assimp endif QT53D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0