From 47b066a90b388b947e8bacb7a313e56fa966d105 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 7 Jul 2024 12:16:58 +0200 Subject: [PATCH] Utils_p: Fix firstChild/nextSiblingElement not exported for OMEMO mod Fixes the Windows/MSVC build. --- src/base/QXmppUtils_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/base/QXmppUtils_p.h b/src/base/QXmppUtils_p.h index 704248468..6f5930d02 100644 --- a/src/base/QXmppUtils_p.h +++ b/src/base/QXmppUtils_p.h @@ -95,9 +95,9 @@ inline QString serializeInt(Int value) { return QString::number(value); } // DOM // -bool isIqType(const QDomElement &, QStringView tagName, QStringView xmlns); -QDomElement firstChildElement(const QDomElement &, QStringView tagName = {}, QStringView xmlNs = {}); -QDomElement nextSiblingElement(const QDomElement &, QStringView tagName = {}, QStringView xmlNs = {}); +QXMPP_EXPORT bool isIqType(const QDomElement &, QStringView tagName, QStringView xmlns); +QXMPP_EXPORT QDomElement firstChildElement(const QDomElement &, QStringView tagName = {}, QStringView xmlNs = {}); +QXMPP_EXPORT QDomElement nextSiblingElement(const QDomElement &, QStringView tagName = {}, QStringView xmlNs = {}); struct DomChildElements { QDomElement parent;