mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] qt6: correctly gate QtQuick vector image modules
Date: Fri, 14 Nov 2025 11:46:32 +0100	[thread overview]
Message-ID: <20251114104632.2878445-1-l.stach@pengutronix.de> (raw)

Those are only available when QtSvg is selected.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/qt6.in   | 4 ++++
 rules/qt6.make | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/rules/qt6.in b/rules/qt6.in
index 59e0beb0cb96..f1d24000f9ab 100644
--- a/rules/qt6.in
+++ b/rules/qt6.in
@@ -371,6 +371,10 @@ config QT6_MODULE_QTDECLARATIVE_QUICK_PARTICLES
 	bool
 	default QT6_OPENGL
 
+config QT6_MODULE_QTDECLARATIVE_QUICK_SVG
+	bool
+	default QT6_MODULE_QTSVG
+
 if QT6_MODULE_QTQUICK3D
 
 config QT6_MODULE_QTDECLARATIVE_QTQUICK3D_DEBUG
diff --git a/rules/qt6.make b/rules/qt6.make
index 7d893bae9c90..1e9ba9a8aec5 100644
--- a/rules/qt6.make
+++ b/rules/qt6.make
@@ -1035,8 +1035,8 @@ QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK)		+= Qt6QuickControls2Material
 QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK)		+= Qt6QuickControls2MaterialStyleImpl
 QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK)		+= Qt6QuickShapes
 QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK)		+= Qt6QuickTemplates2
-QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK_WIDGETS)	+= Qt6QuickVectorImage
-QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK_WIDGETS)	+= Qt6QuickVectorImageGenerator
+QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK_SVG)		+= Qt6QuickVectorImage
+QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK_SVG)		+= Qt6QuickVectorImageGenerator
 QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK_WIDGETS)	+= Qt6QuickWidgets
 QT6_LIBS-$(PTXCONF_QT6_MODULE_QTDECLARATIVE_QUICK_PARTICLES)	+= Qt6QuickParticles
 ifdef PTXCONF_QT6_TEST
-- 
2.47.3




                 reply	other threads:[~2025-11-14 10:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251114104632.2878445-1-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox