From bf9f6791cd8b3c4b377588655c118513d1aacdc9 Mon Sep 17 00:00:00 2001 From: Tatiana Borisova Date: Mon, 27 May 2024 17:35:19 +0200 Subject: [PATCH] Put conditioned header under appropriate feature configuration - Add #if QT_CONFIG(xmlstream) for qxmlstream.h usage in removed_api.cpp Amends cd5dd8b95bbda1e9531af52c251ea926f125c8ea Change-Id: Ibb5962ff1ee9d26a2f115c6cf0a8b9b88109fab7 Reviewed-by: Ivan Solovev --- src/corelib/compat/removed_api.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp index d6d527fe500..6aafc6e6e0a 100644 --- a/src/corelib/compat/removed_api.cpp +++ b/src/corelib/compat/removed_api.cpp @@ -1179,7 +1179,9 @@ QUuid QUuid::createUuidV5(const QUuid &ns, const QByteArray &baseData) noexcept return createUuidV5(ns, qToByteArrayViewIgnoringNull(baseData)); } +#if QT_CONFIG(xmlstream) #include "qxmlstream.h" // inlined API +#endif // QT_CONFIG(xmlstream) // #include "qotherheader.h" // // implement removed functions from qotherheader.h