aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2019-07-11 20:13:04 +0200
committerPaul Wicking <paul.wicking@qt.io>2019-07-11 18:43:34 +0000
commitf44061fa0547d048661d1efa8444da7c757fa39c (patch)
treeaa9a5b8a653a141364fdfba62b5dab8146a4d0c4
parent815bf5786474cabffc4b3f2ab091d34aa88e2260 (diff)
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 <paul.wicking@qt.io>
-rw-r--r--src/macextras/doc/QtMacExtras/AppKit/AppKit.h1
-rw-r--r--src/macextras/doc/QtMacExtras/Cocoa/Cocoa.h1
-rw-r--r--src/macextras/doc/QtMacExtras/CoreFoundation/CoreFoundation.h1
3 files changed, 3 insertions, 0 deletions
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