build fix for the case when QT_NO_QFUTURE is defined

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-07-26 18:31:22 +00:00
parent 56a540b648
commit ccd1355763

View file

@ -34,15 +34,16 @@
#include "qfuturewatcher.h" #include "qfuturewatcher.h"
#ifndef QT_NO_QFUTURE #ifndef QT_NO_QFUTURE
# include <QtCore/qcoreevent.h>
#include <QtCore/qcoreevent.h> # include <QtCore/qcoreapplication.h>
#include <QtCore/qcoreapplication.h> # include <QtCore/qthread.h>
#include <QtCore/qthread.h> # include "qfuturewatcher_p.h"
#endif
#include "qfuturewatcher_p.h"
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
#ifndef QT_NO_QFUTURE
/*! \class QFutureWatcher /*! \class QFutureWatcher
\reentrant \reentrant
\since 4.4 \since 4.4
@ -579,8 +580,6 @@ void QFutureWatcherBasePrivate::sendCallOutEvent(QFutureCallOutEvent *event)
*/ */
QT_END_NAMESPACE
#else #else
// On Symbian winscw target QT_NO_QFUTURE and QT_NO_CONCURRENT are both defined. // On Symbian winscw target QT_NO_QFUTURE and QT_NO_CONCURRENT are both defined.
@ -598,4 +597,6 @@ void QFutureWatcherBase::disconnectNotify(const char *) { }
#endif // QT_NO_QFUTURE #endif // QT_NO_QFUTURE
QT_END_NAMESPACE
#include "moc_qfuturewatcher.h" #include "moc_qfuturewatcher.h"