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>
commit4b169ce5b5f224ae9b443dc46dd16c832d3fdda3
parent1feefed0e4a19cd1430ea840be63ef40cb855496
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeMon, 20 Feb 2023 12:30:10 +0000