wasm: fix EXPORTED_RUNTIME_METHODS also for qmake

Emscripten has deprecated the “EXTRA_” prefix.

Pick-to: 6.3
Change-Id: I8cbfab933ba46e293f3bd6262cf0147c3c8978cf
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: David Skoland <david.skoland@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
Morten Johan Sørvig 2022-01-12 22:52:37 +01:00
parent f50dbdb38f
commit a1c666b6e5

View File

@ -34,7 +34,7 @@ EMCC_COMMON_LFLAGS += \
-s FULL_ES3=1 \
-s USE_WEBGL2=1 \
-s ERROR_ON_UNDEFINED_SYMBOLS=1 \
-s EXTRA_EXPORTED_RUNTIME_METHODS=[\"UTF16ToString\",\"stringToUTF16\"] \
-s EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16] \
--bind \
-s FETCH=1 \
-s MODULARIZE=1 \