wasm: add specialHTMLTargets to EXPORTED_RUNTIME_METHODS for qmake
The change
0ec75f4b99
missed adding specialHTMLTargets for qmake
Also add warning to keep QtWasmHelpers in sync with qmake.conf
Change-Id: Idb363e77f0cecb4f125d3cb4f7507899149a3bac
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
e70c953a59
commit
3de6cd9bd1
@ -1,4 +1,5 @@
|
||||
|
||||
# WARNING must keep in sync with wasm-emscripten/qmake.conf!
|
||||
function (qt_internal_setup_wasm_target_properties wasmTarget)
|
||||
|
||||
target_link_options("${wasmTarget}" INTERFACE
|
||||
|
@ -34,7 +34,7 @@ EMCC_COMMON_LFLAGS += \
|
||||
-s FULL_ES3=1 \
|
||||
-s USE_WEBGL2=1 \
|
||||
-s ERROR_ON_UNDEFINED_SYMBOLS=1 \
|
||||
-s EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16] \
|
||||
-s EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16,specialHTMLTargets] \
|
||||
--bind \
|
||||
-s FETCH=1 \
|
||||
-s MODULARIZE=1 \
|
||||
|
Loading…
Reference in New Issue
Block a user