summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-10-19 12:29:51 +0200
committerMartin Smith <martin.smith@qt.io>2018-10-30 17:20:00 +0000
commit1864748136c5ef9e6e435f201f2485bfeb7ada0f (patch)
treeb5672a499566688234a8274073993b2dfa37653e
parent56410a51cc897e3b38a0794019ebf196b1eb22d5 (diff)
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 <martin.smith@qt.io>
-rw-r--r--src/network/ssl/qdtls.h2
1 files changed, 2 insertions, 0 deletions
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 <QtCore/qcryptographichash.h>
#include <QtCore/qobject.h>
+#ifndef Q_CLANG_QDOC
QT_REQUIRE_CONFIG(dtls);
+#endif
QT_BEGIN_NAMESPACE