diff options
author | Topi Reinio <topi.reinio@qt.io> | 2023-02-17 17:52:25 +0000 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2023-02-20 12:30:10 +0000 |
commit | 4b169ce5b5f224ae9b443dc46dd16c832d3fdda3 (patch) | |
tree | 842dfa85e11e2ce73ac57736dd0779c0d4176a0a | |
parent | 1feefed0e4a19cd1430ea840be63ef40cb855496 (diff) | |
download | qtactiveqt-4b169ce5b5f224ae9b443dc46dd16c832d3fdda3.tar.gz |
Doc: Define WINAPI for documentation builds on non-Windows platforms
QDoc's Clang-based parser gets confused if WINAPI is not defined,
causing it to fail to match documentation blocks with declarations
in the header.
Pick-to: 6.5
Change-Id: I222c085c03bdb9e7361b055b8c2371ef4c9c6a38
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-rw-r--r-- | src/activeqt/doc/ActiveQtDoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/activeqt/doc/ActiveQtDoc b/src/activeqt/doc/ActiveQtDoc index 57bcc57..4b5e674 100644 --- a/src/activeqt/doc/ActiveQtDoc +++ b/src/activeqt/doc/ActiveQtDoc @@ -14,3 +14,7 @@ #include "qaxtypes.h" #include "qaxwidget.h" #include "qaxutils_p.h" + +#ifndef WINAPI +#define WINAPI +#endif |