mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] qt6: fix broken qml qtnetwork dependency
@ 2025-11-19  9:20 Fabian Pfitzner
  0 siblings, 0 replies; only message in thread
From: Fabian Pfitzner @ 2025-11-19  9:20 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pfitzner

QtNetwork should only be installed, when the QTDECLARATIVE module has
been selected. Otherwise it will cause errors in the targetinstall
stage.

Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
---
 rules/qt6.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/qt6.make b/rules/qt6.make
index ac7f0683b..4fd369a0e 100644
--- a/rules/qt6.make
+++ b/rules/qt6.make
@@ -985,7 +985,9 @@ QT6_PLUGINS-$(PTXCONF_QT6_GLIB)					+= networkinformation/libqglib
 QT6_PLUGINS-$(PTXCONF_QT6_DBUS)					+= networkinformation/libqnetworkmanager
 QT6_PLUGINS-$(PTXCONF_QT6_MODULE_QTBASE)			+= tls/libqcertonlybackend
 QT6_PLUGINS-$(PTXCONF_QT6_OPENSSL)				+= tls/libqopensslbackend
+ifdef PTXCONF_QT6_MODULE_QTDECLARATIVE
 QT6_QML-$(PTXCONF_QT6_MODULE_QTBASE)				+= QtNetwork
+endif
 
 ### QtCharts ###
 QT6_LIBS-$(PTXCONF_QT6_MODULE_QTCHARTS)				+= Qt6Charts
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-19  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-19  9:20 [ptxdist] [PATCH] qt6: fix broken qml qtnetwork dependency Fabian Pfitzner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox