qdoc: Remove Q_OS_* frome defines variable

In clangqdoc, we no longer define platform-specific
macros, because they make clang try to include too
much include stuff. Instead, when we have something
like #if defined(Q_OS_XXX) surrounding something we
want clangqdoc to see, we add the Q_CLANG_QDOC macro
like this: #if defined(Q_OS_XXX) || defined(Q_CLANG_QDOC).
This should not be done everywhere Q_OS_XXX is used, but
only where there is some platform-specific things we want
to document.

Change-Id: I97bb57e9b0c044899fa45b0beb02702906d5c89a
Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
Martin Smith 2016-10-21 10:27:02 +02:00
parent 4f24e30f57
commit 740ff1b881

View File

@ -8,7 +8,7 @@ defines += Q_QDOC \
QT_KEYPAD_NAVIGATION \ QT_KEYPAD_NAVIGATION \
QT_NO_EGL \ QT_NO_EGL \
QT3_SUPPORT \ QT3_SUPPORT \
Q_OS_.* \ Q_DEAD_CODE_FROM_QT4_.* \
Q_BYTE_ORDER \ Q_BYTE_ORDER \
QT_DEPRECATED \ QT_DEPRECATED \
QT_DEPRECATED_* \ QT_DEPRECATED_* \