From f44061fa0547d048661d1efa8444da7c757fa39c Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Thu, 11 Jul 2019 20:13:04 +0200 Subject: Doc: Ensure macOS-specific class docs are generated on other platforms The Clang parser in QDoc fails to parse the .mm source files if their include files are not found. Add dummy header files under the /doc/QtMacExtras directory for this purpose. Fixes: QTBUG-77009 Change-Id: I2ec5a9aadb541a52b0416f79ca30321b55b0b8cc Reviewed-by: Paul Wicking --- src/macextras/doc/QtMacExtras/AppKit/AppKit.h | 1 + src/macextras/doc/QtMacExtras/Cocoa/Cocoa.h | 1 + src/macextras/doc/QtMacExtras/CoreFoundation/CoreFoundation.h | 1 + 3 files changed, 3 insertions(+) create mode 100644 src/macextras/doc/QtMacExtras/AppKit/AppKit.h create mode 100644 src/macextras/doc/QtMacExtras/Cocoa/Cocoa.h create mode 100644 src/macextras/doc/QtMacExtras/CoreFoundation/CoreFoundation.h diff --git a/src/macextras/doc/QtMacExtras/AppKit/AppKit.h b/src/macextras/doc/QtMacExtras/AppKit/AppKit.h new file mode 100644 index 0000000..29e2004 --- /dev/null +++ b/src/macextras/doc/QtMacExtras/AppKit/AppKit.h @@ -0,0 +1 @@ +// Dummy header used in documentation build diff --git a/src/macextras/doc/QtMacExtras/Cocoa/Cocoa.h b/src/macextras/doc/QtMacExtras/Cocoa/Cocoa.h new file mode 100644 index 0000000..29e2004 --- /dev/null +++ b/src/macextras/doc/QtMacExtras/Cocoa/Cocoa.h @@ -0,0 +1 @@ +// Dummy header used in documentation build diff --git a/src/macextras/doc/QtMacExtras/CoreFoundation/CoreFoundation.h b/src/macextras/doc/QtMacExtras/CoreFoundation/CoreFoundation.h new file mode 100644 index 0000000..29e2004 --- /dev/null +++ b/src/macextras/doc/QtMacExtras/CoreFoundation/CoreFoundation.h @@ -0,0 +1 @@ +// Dummy header used in documentation build -- cgit v1.2.3