QCFString: unexport
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. Task-number: QTBUG-104164 Change-Id: Iedf8b0b1882802db53406942d7ac2a27e7ddfa23 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit b249a8ab3ab68ee4e823f5cf32d9d742bebe1cd1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
92805d19bb
commit
f0feeb8486
@ -169,15 +169,15 @@ class QIOType : public QAppleRefCounted<T, io_object_t, IOObjectRetain, IOObject
|
||||
};
|
||||
#endif
|
||||
|
||||
class Q_CORE_EXPORT QCFString : public QCFType<CFStringRef>
|
||||
class QCFString : public QCFType<CFStringRef>
|
||||
{
|
||||
public:
|
||||
using QCFType<CFStringRef>::QCFType;
|
||||
Q_NODISCARD_CTOR QCFString(const QString &str) : QCFType<CFStringRef>(0), string(str) {}
|
||||
Q_NODISCARD_CTOR QCFString(const CFStringRef cfstr = 0) : QCFType<CFStringRef>(cfstr) {}
|
||||
Q_NODISCARD_CTOR QCFString(const QCFType<CFStringRef> &other) : QCFType<CFStringRef>(other) {}
|
||||
operator QString() const;
|
||||
operator CFStringRef() const;
|
||||
Q_CORE_EXPORT operator QString() const;
|
||||
Q_CORE_EXPORT operator CFStringRef() const;
|
||||
|
||||
private:
|
||||
QString string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user