summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2023-12-20 07:43:25 +1000
committerMorten Sørvig <morten.sorvig@qt.io>2023-12-22 00:46:03 +0100
commitae3506d80e11068957af38897e451cddb18bbe70 (patch)
tree53784bdd0bd8a6ec8434984c0fb9b4253b93d95c /src/corelib/thread
parent7f6459f8c3f5d6de6c2a817c5c0c3b1f23aa7b92 (diff)
wasm: fix single thread build
Fixes linking of apps Pick-to: 6.6 6.7 Change-Id: I9bbec9b63af8ae2801643fe124aeda8b25abeca5 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qthread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp
index b45ff17373..28845078d6 100644
--- a/src/corelib/thread/qthread.cpp
+++ b/src/corelib/thread/qthread.cpp
@@ -1014,6 +1014,10 @@ bool QThread::isInterruptionRequested() const
return false;
}
+void QThread::setTerminationEnabled(bool)
+{
+}
+
// No threads: so we can just use static variables
Q_CONSTINIT static QThreadData *data = nullptr;