From 375c5a0076045f68ddbfd8e3503cbd6d428f9486 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 31 May 2016 18:42:00 +0200 Subject: Properly forward-declare the Apple types with Q_QDOC They are needed for the header to be parsed properly with clang based qdoc. While we are at it, change the condition from Q_OS_MAC to Q_OS_DARWIN Change-Id: I2a2f9c1159f47795d9811023d67c86fec1866846 Reviewed-by: Jake Petroules --- src/corelib/plugin/quuid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/plugin') diff --git a/src/corelib/plugin/quuid.h b/src/corelib/plugin/quuid.h index fef0beba11..264f572993 100644 --- a/src/corelib/plugin/quuid.h +++ b/src/corelib/plugin/quuid.h @@ -55,7 +55,7 @@ typedef struct _GUID #endif #endif -#if defined(Q_OS_DARWIN) +#if defined(Q_OS_DARWIN) || defined(Q_QDOC) Q_FORWARD_DECLARE_CF_TYPE(CFUUID); Q_FORWARD_DECLARE_OBJC_CLASS(NSUUID); #endif -- cgit v1.2.3