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 <[email protected]> --- 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
