From 740ff1b881059d18f036c7b021674d0cd11c9014 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Fri, 21 Oct 2016 10:27:02 +0200 Subject: 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 --- doc/global/qt-cpp-defines.qdocconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/global/qt-cpp-defines.qdocconf b/doc/global/qt-cpp-defines.qdocconf index c6a8fa1be1..2f9c873b34 100644 --- a/doc/global/qt-cpp-defines.qdocconf +++ b/doc/global/qt-cpp-defines.qdocconf @@ -8,7 +8,7 @@ defines += Q_QDOC \ QT_KEYPAD_NAVIGATION \ QT_NO_EGL \ QT3_SUPPORT \ - Q_OS_.* \ + Q_DEAD_CODE_FROM_QT4_.* \ Q_BYTE_ORDER \ QT_DEPRECATED \ QT_DEPRECATED_* \ -- cgit v1.2.3