wasm: fix single thread build

Fixes linking of apps

Pick-to: 6.6
Change-Id: I9bbec9b63af8ae2801643fe124aeda8b25abeca5
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit ae3506d80e11068957af38897e451cddb18bbe70)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Lorn Potter 2023-12-20 07:43:25 +10:00 committed by Qt Cherry-pick Bot
parent 251267d439
commit 6c4fe5766e

View File

@ -999,6 +999,10 @@ bool QThread::isInterruptionRequested() const
return false; return false;
} }
void QThread::setTerminationEnabled(bool)
{
}
// No threads: so we can just use static variables // No threads: so we can just use static variables
Q_CONSTINIT static QThreadData *data = nullptr; Q_CONSTINIT static QThreadData *data = nullptr;