Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.12.1
-
None
Description
Configuring with
./configure -xplatform wasm-emscripten -nomake examples -skip qtwebengine -prefix $PWD/qtbase
fails with
> em++ -s WASM=1 -s FULL_ES2=1 -s ALLOW_MEMORY_GROWTH=1 -s USE_WEBGL2=1 -s NO_EXIT_RUNTIME=0 -s ERROR_ON_UNDEFINED_SYMBOLS=1 --bind -s "BINARYEN_METHOD='native-wasm'" -s "BINARYEN_TRAP_MODE='clamp'" -O3 -o ./verifyspec.js verifyspec.o > shared:ERROR: Assigning a non-existent settings attribute "BINARYEN_METHOD" > shared:ERROR: - did you mean one of BINARYEN_TRAP_MODE, BINARYEN_ROOT, BINARYEN_PASSES? > shared:ERROR: - perhaps a typo in emcc's -s X=Y notation? > shared:ERROR: - (see src/settings.js for valid values) > make: *** [verifyspec.js] Error 1 ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
with emcc version 1.38.25.
BINARYEN_METHOD is set in qt-everywhere-src-5.12.1/qtbase/mkspecs/wasm-emscripten/qmake.conf and removing the particular line fixed the issue, but I am not sure if that is the correct way to fix it.
Attachments
Issue Links
- duplicates
-
QTBUG-73143 webassembly: build broken with 1.38.23 emscripten and above
- Closed