diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2022-01-12 22:52:37 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2022-01-17 09:01:25 +0000 |
commit | a1c666b6e5f1f23d8b3de2be754f152d2ba2c8a3 (patch) | |
tree | d68d3147b0471f3af2da0efb77c91e4b4f71d9bf /mkspecs | |
parent | f50dbdb38f0babc7dafba46f4a0d22e4d9186f38 (diff) | |
download | qtbase-a1c666b6e5f1f23d8b3de2be754f152d2ba2c8a3.tar.gz |
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>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/wasm-emscripten/qmake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf index 0c93a973cf..2b55a3bf8a 100644 --- a/mkspecs/wasm-emscripten/qmake.conf +++ b/mkspecs/wasm-emscripten/qmake.conf @@ -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 \ |