qt5base-lts/tests/auto/corelib/thread/thread.pro
Ulf Hermann 0a06e1baf9 Modernize the "thread" feature
Add it to configure.json and replace all occurrences of QT_NO_THREAD
with QT_CONFIG(thread). Add conditions for other features that depend
on thread support. Remove conditions where we can use the QMutex and
QThreadStorage stubs.

Change-Id: I284e5d794fda9a4c6f4a1ab29e55aa686272a0eb
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2018-08-17 00:34:36 +00:00

28 lines
511 B
Prolog

TEMPLATE=subdirs
qtHaveFeature(thread) {
SUBDIRS=\
qatomicint \
qatomicinteger \
qatomicpointer \
qresultstore \
qfuture \
qfuturesynchronizer \
qmutex \
qmutexlocker \
qreadlocker \
qreadwritelock \
qsemaphore \
qthread \
qthreadonce \
qthreadpool \
qthreadstorage \
qwaitcondition \
qwritelocker
}
qtHaveModule(concurrent) {
SUBDIRS += \
qfuturewatcher
}