Details
-
Task
-
Resolution: Done
-
P1: Critical
-
6.0.0 Alpha, 6.0
-
-
4972fdb350fe79e18b0413e74028cd9b9803f96b
Description
Emscripten comes with Emscripten toolchain cmake file.
-DCMAKE_TOOLCHAIN_FILE=$HOME/emsdk/emscripten/1.38.27/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles"
but upon testing, other things also need to be set:
- compiler arguments (--bind)
- linker arguments (-L plugins/platforms/ -l qwasm, -s USE_WEBGL2=1 )
- dbug arguments (-s ASSERTIONS=2)
- WASM_OBJECT_FILES
- copy qtloader.js files
- sed wasm_shell.html
- setting Qt5_DIR type of paths
- ? something else
Attachments
Issue Links
- is duplicated by
-
QTBUG-84766 Webassembly and CMake
- Closed
- is required for
-
QTBUG-74988 QtCreator wasm cmake configuration needs CMAKE_TOOLCHAIN_FILE
- Reported
-
QTBUG-84766 Webassembly and CMake
- Closed
- relates to
-
QTBUG-87284 cmake does not generate QT_PLUGIN_RESOURCE_INIT_FUNCTION
- Closed
-
QTBUG-88118 provide a way for config tests to supply conditional compiler and linker arguments
- Closed
- resulted from
-
QTBUG-87471 Support for WebAssembly (WASM) as target in Qt 6.x [Spike]
- Closed
- mentioned in
-
Page Loading...