summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qfuturewatcher_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qfuturewatcher_p.h')
-rw-r--r--src/corelib/thread/qfuturewatcher_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/thread/qfuturewatcher_p.h b/src/corelib/thread/qfuturewatcher_p.h
index 25d1ef8d25..ead247b040 100644
--- a/src/corelib/thread/qfuturewatcher_p.h
+++ b/src/corelib/thread/qfuturewatcher_p.h
@@ -54,10 +54,10 @@
#include "qfutureinterface_p.h"
#include <qlist.h>
-#ifndef QT_NO_QFUTURE
-
#include <private/qobject_p.h>
+QT_REQUIRE_CONFIG(future);
+
QT_BEGIN_NAMESPACE
class QFutureWatcherBase;
@@ -84,5 +84,4 @@ public:
QT_END_NAMESPACE
-#endif // QT_NO_QFUTURE
#endif