Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.3.0 Beta2
-
None
-
Ubuntu 20.04
Description
In the CMake file I set the following:
set(QT_WASM_INITIAL_MEMORY 33554432) #32MB
but at link time... I always get the following error:
[100%] Linking CXX executable MyProject.js wasm-ld: error: initial memory too small, 24306096 bytes needed #23MB
I also tried adding the following line in my CMakeLists.txt, but with no success:
target_link_options(${CMAKE_PROJECT_NAME} INTERFACE "SHELL:-s INITIAL_MEMORY=${QT_WASM_INITIAL_MEMORY}")
Attachments
Issue Links
- duplicates
-
QTBUG-100693 WebAssembly (WASM) MEMORY control fixes
-
- Closed
-