From f7a0968da436f20f68ebff9bb9773afccf2bd5be Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 17 Jun 2016 10:02:59 +0200 Subject: Forward declarations for platform specific types should also be done with Q_QDOC The clang based qdoc need to be able to parse properly anything that is in #ifdef Q_QDOC The #if for the forward declararion now match the one in which it is used. Change-Id: Ia6cf84dd07a979b4e7aa8da764d9fb2fce74baa1 Reviewed-by: Jake Petroules --- src/corelib/tools/qpoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/tools/qpoint.h') diff --git a/src/corelib/tools/qpoint.h b/src/corelib/tools/qpoint.h index e2d7f4372a..7b1004897a 100644 --- a/src/corelib/tools/qpoint.h +++ b/src/corelib/tools/qpoint.h @@ -42,7 +42,7 @@ #include -#if defined(Q_OS_DARWIN) +#if defined(Q_OS_DARWIN) || defined(Q_QDOC) struct CGPoint; #endif -- cgit v1.2.3