为网络构建应用程序
使用 Qt for WebAssembly 以 WebAssembly 格式构建应用程序,并在本地网络浏览器上部署和运行。
在项目的运行设置中更改网络浏览器。
WebAssembly 是一种二进制格式,允许在网页中使用沙盒可执行代码。这种格式几乎与本地机器代码一样快。所有主流网络浏览器都支持这种格式。
注意: 启用 WebAssembly 插件才能使用它。
要为网络构建应用程序并在网络浏览器中运行,请安装 Qt for WebAssembly,并使用 Qt Online Installer.它将自动为Qt Creator 添加一个构建和运行工具包。
另请参阅 如何为 WebAssembly 开发"、"启用和禁用插件"和 "Qt for WebAssembly"。
Copyright © The Qt Company Ltd. and other contributors. 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.