From 1864748136c5ef9e6e435f201f2485bfeb7ada0f Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Fri, 19 Oct 2018 12:29:51 +0200 Subject: [PATCH] doc: Let qdoc parse qdtls.h even without dtls This update removes the requirement for dtls to be present when qdoc runs so that qdoc can parse qdtls.h. _#ifndef Q_CLANG_QDOC QT_REQUIRE_CONFIG(dtls); _#endif Change-Id: I69ba5e378bebe86f93830d14e3956eb0d677508e Reviewed-by: Martin Smith --- src/network/ssl/qdtls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/network/ssl/qdtls.h b/src/network/ssl/qdtls.h index 8505b00d5e..d057eadf19 100644 --- a/src/network/ssl/qdtls.h +++ b/src/network/ssl/qdtls.h @@ -48,7 +48,9 @@ #include #include +#ifndef Q_CLANG_QDOC QT_REQUIRE_CONFIG(dtls); +#endif QT_BEGIN_NAMESPACE