QT_WASM_INITIAL_MEMORY
WebAssembly 内部初始内存。
该属性自 Qt 6.2.4 起引入。
注意:该 属性处于技术预览阶段,未来版本中可能会发生变化。
注意: 仅当目标平台为 WebAssembly 时,才会使用此 属性。
指定要使用的初始内存量(单位:字节)。使用更多内存将导致浏览器将旧堆复制到新堆中。 该属性对应于 Emscripten 编译器中的 INITIAL_MEMORY 设置。QT_WASM_INITIAL_MEMORY 必须是 65536 字节的倍数。
有关更多信息,请参阅Emscripten 编译器设置。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.