Resolve JSPI-related build problems on shared builds
Added dummy definitions of missing JSPI functions in qeventdispatcher_wasm.cpp. Fixes: QTBUG-115505 Change-Id: Ifb63960ef980905834808dddaf399adb2ca843cb Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
parent
44d3d87930
commit
58b5fb0f99
@ -119,6 +119,27 @@ static bool useAsyncify()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool useJspi()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
void qt_jspi_suspend_js()
|
||||||
|
{
|
||||||
|
Q_UNREACHABLE();
|
||||||
|
}
|
||||||
|
|
||||||
|
void qt_jspi_resume_js()
|
||||||
|
{
|
||||||
|
Q_UNREACHABLE();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool qt_jspi_can_resume_js()
|
||||||
|
{
|
||||||
|
Q_UNREACHABLE();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void qt_asyncify_suspend_js()
|
void qt_asyncify_suspend_js()
|
||||||
{
|
{
|
||||||
Q_UNREACHABLE();
|
Q_UNREACHABLE();
|
||||||
|
Loading…
Reference in New Issue
Block a user