在网络浏览器中运行应用程序

WebAssembly格式构建 Qt 应用程序并在网络浏览器中运行:

  1. 为要在网络浏览器中运行的应用程序打开一个项目。
  2. 转到Projects >Build & Run ,然后选择 WebAssembly 工具包作为项目的构建和运行工具包。
  3. 选择Run ,指定运行设置。
  4. Web browser 中,选择浏览器。

    为 WebAssembly 运行设置选择在 Qt 中运行的浏览器

以 WebAssembly 格式构建 Qt 应用程序,并按照 "为多种平台构建 "和 "在多种平台上运行 "中的说明在 Web 浏览器中运行。

另请参阅 " 为 Web 构建应用程序"和"启用和禁用插件"

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.