qt5base-lts/mkspecs/wasm-emscripten
Alexandra Cherdantseva 0a4c5b5119 wasm: fix redundant string conversions between wasm and JavaScript
Avoid redundant conversions from UTF16 to UTF8 to UTF16 with
help of new class QWasmString static methods:
+ QWasmString::fromQString to convert QString to js string
using js Module.UTF16ToString
+ QWasmString::toQString to convert js string to QString
using js Module.stringToUTF16

Fixed document.getElementById calls for cavasId with unicode characters.

Change-Id: I3fc55bfeb6aeda75fa3acd85d22cea667b542f38
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
2020-01-22 19:26:22 +03:00
..
qmake.conf wasm: fix redundant string conversions between wasm and JavaScript 2020-01-22 19:26:22 +03:00
qplatformdefs.h WebAssembly for QtBase 2018-08-30 06:48:33 +00:00