diff options
author | Tuomo Pelkonen <tuomo.pelkonen@qt.io> | 2022-04-13 09:29:00 +0300 |
---|---|---|
committer | Tuomo Pelkonen <tuomo.pelkonen@qt.io> | 2022-04-13 09:00:42 +0000 |
commit | 113b7915648b70c8a6d06d0c7f1251a7dc14bada (patch) | |
tree | f4deaa3e7e99195e475ac3543006ab40543e65f0 | |
parent | ec279a4d5ca87005131ec426cb78ca46075751ed (diff) |
Fix memory allocation issue with large wasm build
Change-Id: I9566eca0c7b926eb8d5335e46c3a6f3b0868286d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a9d407f..ba402ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ qt_add_executable(${CMAKE_PROJECT_NAME} # This does not work on Qt 6.3 beta 1, should be fixed in beta 3 # You need to modify Qt6Targets.cmake to change the memory parameter -# set_property(TARGET ${CMAKE_PROJECT_NAME} PROPERTY QT_WASM_INITIAL_MEMORY "50MB") +set_property(TARGET ${CMAKE_PROJECT_NAME} PROPERTY QT_WASM_INITIAL_MEMORY "50MB") target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Core |