summaryrefslogtreecommitdiffstats
path: root/tests/manual/examples/widgets/scroller/graphicsview/main.cpp
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2023-05-12 15:16:42 +0200
committerMikolaj Boc <mikolaj.boc@qt.io>2023-06-12 15:46:31 +0200
commit05c3342b43edf3a3cbd9b9568d8ffcad3b1f28df (patch)
tree4e1e2ef406dbb2c49718beb014a5b0a56b8e8932 /tests/manual/examples/widgets/scroller/graphicsview/main.cpp
parent97f68cd3068587103c8b0a0ccdcd6e61431efc1e (diff)
Adapt WASM event dispatcher to use JSPI, if available
Detect if JSPI is available and suspend the execution of the program if so, instead of using 'bare' asyncify. For now: 1) This works only with emscripten 3.1.36 with mboc-qt patches from emscripten repo 2) Apps have to specify the following linker options: -sDYNCALLS=1 -sASYNCIFY=2 -sASYNCIFY_EXPORTS=dynCall_* Fixes: QTBUG-113570 Change-Id: Ide7c51e36990df7e20c6c9b5a218366cb0db100e Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'tests/manual/examples/widgets/scroller/graphicsview/main.cpp')
0 files changed, 0 insertions, 0 deletions