diff options
Diffstat (limited to 'src/concurrent/qtconcurrentexception.h')
-rw-r--r-- | src/concurrent/qtconcurrentexception.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/concurrent/qtconcurrentexception.h b/src/concurrent/qtconcurrentexception.h index 03dd7ec498..9da53fd9e2 100644 --- a/src/concurrent/qtconcurrentexception.h +++ b/src/concurrent/qtconcurrentexception.h @@ -41,18 +41,17 @@ #define QTCONCURRENT_EXCEPTION_H #include <QtConcurrent/qtconcurrent_global.h> - -#ifndef QT_NO_QFUTURE - #include <QtCore/qexception.h> +QT_REQUIRE_CONFIG(concurrent); + 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; @@ -63,6 +62,4 @@ typedef Q_DECL_DEPRECATED QUnhandledException UnhandledException; QT_END_NAMESPACE -#endif // QT_NO_QFUTURE - #endif |