From b249a8ab3ab68ee4e823f5cf32d9d742bebe1cd1 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 13 Jun 2023 14:46:38 +0200 Subject: [PATCH] QCFString: unexport MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This class doesn't exist on MSVC, so the inline functions didn't become part of the ABI, so it suffices to only export the two out-of-line functions. Pick-to: 6.6 Task-number: QTBUG-104164 Change-Id: Iedf8b0b1882802db53406942d7ac2a27e7ddfa23 Reviewed-by: Tor Arne Vestbø --- src/corelib/kernel/qcore_mac_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/corelib/kernel/qcore_mac_p.h b/src/corelib/kernel/qcore_mac_p.h index f69eb693a35..58326dbd568 100644 --- a/src/corelib/kernel/qcore_mac_p.h +++ b/src/corelib/kernel/qcore_mac_p.h @@ -169,15 +169,15 @@ class QIOType : public QAppleRefCounted +class QCFString : public QCFType { public: using QCFType::QCFType; Q_NODISCARD_CTOR QCFString(const QString &str) : QCFType(0), string(str) {} Q_NODISCARD_CTOR QCFString(const CFStringRef cfstr = 0) : QCFType(cfstr) {} Q_NODISCARD_CTOR QCFString(const QCFType &other) : QCFType(other) {} - operator QString() const; - operator CFStringRef() const; + Q_CORE_EXPORT operator QString() const; + Q_CORE_EXPORT operator CFStringRef() const; private: QString string;