qt_wasm_initial_memory
WebAssembly 内部初始内存。
此属性在 Qt 6.2.4 中引入。
注意: 此属性为技术预览版,可能会在未来版本中更改。
注: 此属性仅在针对 WebAssembly 平台时使用。
指定要使用的初始内存量(以字节为单位)。使用更多内存会导致浏览器将旧堆复制到新堆中。该属性可转换为 Emscripten 编译器的 INITIAL_MEMORY 设置。QT_WASM_INITIAL_MEMORY 必须是 65536 字节的倍数。
更多信息,请参阅Emscripten 编译器设置。
© 2025 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.