summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentexception.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/concurrent/qtconcurrentexception.h')
-rw-r--r--src/concurrent/qtconcurrentexception.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/concurrent/qtconcurrentexception.h b/src/concurrent/qtconcurrentexception.h
index 03dd7ec498..3ed4ac2cf5 100644
--- a/src/concurrent/qtconcurrentexception.h
+++ b/src/concurrent/qtconcurrentexception.h
@@ -42,7 +42,7 @@
#include <QtConcurrent/qtconcurrent_global.h>
-#ifndef QT_NO_QFUTURE
+#if !defined(QT_NO_QFUTURE) || defined(Q_CLANG_QDOC)
#include <QtCore/qexception.h>
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
namespace QtConcurrent
{
-#ifndef QT_NO_EXCEPTIONS
+#if !defined(QT_NO_EXCEPTIONS) || defined(Q_CLANG_QDOC)
typedef Q_DECL_DEPRECATED QException Exception;
typedef Q_DECL_DEPRECATED QUnhandledException UnhandledException;