Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.2.1
-
Ubuntu20.04 x64
emsdk version: 2.0.16
cmake version 3.21.1
-
-
2148e1f0e6026ad7a87c7eec0362d1250c1f09e9 (qt/qtbase/dev) b73252c68e48e5d24c6c3b546c99a7e3f91078e5 (qt/qtbase/6.2)
Description
Install Qt6.2.1 snapshot Wasm binaries (on linux), compile example quick3d/morphing (highlighted example)
Configure passes:
/home/johanna/RTA/Qt/6.2.0/wasm_32/bin/qt-cmake -S /home/johanna/RTA/Qt/Examples/Qt-6.2.0/quick3d/morphing -B /home/johanna/RTA/Qt/Examples/Qt-6.2.0/quick3d/morphing/bld_wasm_32
But build fails:
[ 12%] Built target morphing_tooling [ 16%] Automatic MOC and UIC for target morphing [ 20%] Built target morphing_autogen [ 25%] Running AUTOMOC file extraction for target morphing [ 25%] Built target morphing_automoc_json_extraction Consolidate compiler generated dependencies of target morphing [ 29%] Linking CXX executable morphing.js wasm-ld: error: initial memory too small, 17835968 bytes needed em++: error: '/home/johanna/git/emsdk/upstream/bin/wasm-ld @/tmp/emscripten_3ut6k_ef.rsp' failed (1) make[2]: *** [CMakeFiles/morphing.dir/build.make:498: morphing.js] Error 1 make[1]: *** [CMakeFiles/Makefile2:172: CMakeFiles/morphing.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
quick3d/custominstancing is compiling without errors.
Attachments
For Gerrit Dashboard: QTBUG-97457 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
377269,4 | wasm: increase default initial memory | dev | qt/qtbase | Status: MERGED | +2 | 0 |
379966,2 | wasm: increase default initial memory | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |