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:
parent
251267d439
commit
6c4fe5766e
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user