From 245f354af9abf82f2c851568901d212686df90f1 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Thu, 22 Oct 2020 21:09:27 +0200 Subject: [PATCH] Predefine Q_DECL_DEPRECATED for doxygen --- cmake_templates/Doxyfile.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake_templates/Doxyfile.in b/cmake_templates/Doxyfile.in index 372182a984b..a9bec7df096 100644 --- a/cmake_templates/Doxyfile.in +++ b/cmake_templates/Doxyfile.in @@ -2025,7 +2025,7 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = +PREDEFINED = "Q_DECL_DEPRECATED=" # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The @@ -2062,8 +2062,7 @@ EXPAND_AS_DEFINED = "SIP_ABSTRACT" \ "SIP_VIRTUALERRORHANDLER" \ "SIP_WHEN_FEATURE" \ "SIP_MONKEYPATCH_SCOPEENUM" \ - "SIP_MONKEYPATCH_SCOPEENUM_UNNEST" \ - "Q_DECL_DEPRECATED" + "SIP_MONKEYPATCH_SCOPEENUM_UNNEST" # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will # remove all references to function-like macros that are alone on a line, have