diff options
| author | Lorn Potter <lorn.potter@gmail.com> | 2023-12-20 07:43:25 +1000 |
|---|---|---|
| committer | Morten Sørvig <morten.sorvig@qt.io> | 2023-12-22 00:46:03 +0100 |
| commit | ae3506d80e11068957af38897e451cddb18bbe70 (patch) | |
| tree | 53784bdd0bd8a6ec8434984c0fb9b4253b93d95c /src/corelib/thread/qthread.cpp | |
| parent | 7f6459f8c3f5d6de6c2a817c5c0c3b1f23aa7b92 (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/qthread.cpp')
| -rw-r--r-- | src/corelib/thread/qthread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp index b45ff173738..28845078d66 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; |
