summaryrefslogtreecommitdiffstats
path: root/cmake/QtFrameworkHelpers.cmake
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2021-09-17 11:40:14 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2021-11-04 09:23:11 +0200
commit6d039a5e7675542103d6fad8fcc38d6c17d26e20 (patch)
tree761b7ceb7d6f3150c16e46fd407d5a9635ce42f1 /cmake/QtFrameworkHelpers.cmake
parent63feecfc11640d66b6b0c663f97ffcc0abfb6181 (diff)
wasm: enable event dispatcher asyncify support
Misc. fixes, including: Fix a couple of typos in the JavaScript code. Also, macros- within-macros don’t work, (without resorting to preprocessor token pasting), so remove the debug output for now. Limit the exec() “simulateInfiniteLoop” workaround to top-level application exec() only. This way, asyncify can be used for nested QEventLoop::exec() calls. (Emscripten supports one level of suspend only, so we don’t want to use that for the top-level exec(), but instead use it for dialogs and such). Use the new QEventLoop::ProcessEventsFlag::ApplicationExec enum value to detect the exec() call type. Change-Id: Ic702bfc31faf2e9f84ac5d3ccf43d067c5c61bf0 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'cmake/QtFrameworkHelpers.cmake')
0 files changed, 0 insertions, 0 deletions