第三方软件许可与重链接

ZPTBox 使用 Qt 6.6.3。随本版分发的 Qt 库按 GNU LGPL v3 提供。 Qt 及其第三方组件的版权、许可证和构建材料随下方对应源码提供。你可以修改 Qt, 并为调试这些修改对包含 Qt 的组合作品进行必要的逆向工程。 ZPTBox 的许可条款不限制 LGPL 授予的这些权利。

This release uses Qt 6.6.3 under the GNU LGPL v3. The Qt archives below include the corresponding source, attribution, licenses and build scripts. ZPTBox permits modification of the LGPL-covered library and reverse engineering to debug those modifications.

在浏览器运行重新链接的版本

  1. 下载并解压 zptbox-relink.zip,再下载同版本的 zptbox-site-shell.zip。
  2. 安装 Emscripten 3.1.37 并激活 SDK 环境。 使用压缩包里的 Qt WASM 库,或用 Emscripten 3.1.37 从下方 Qt 6.6.3 源码构建接口兼容的替代版本。 替换库需保持 WASM32、单线程及静态链接配置。Qt 源码归档内含构建说明。
  3. 使用 Python 3.11 或更新版本执行
    python relink.py --emxx /path/to/emscripten/em++.py --shell zptbox-site-shell.zip --site local-site
    使用替代 Qt 时加上 --qt /path/to/qt-install。编译脚本读取此目录下的 lib 与 plugins; 也可直接把替代库装入重链接包的对应路径。
  4. 执行 python -m http.server --bind 127.0.0.1 --directory local-site 8000, 在浏览器打开 http://127.0.0.1:8000。

来源、许可证与发布材料

Pyodide 使用 MPL 2.0。Python 科学计算轮子保留各自的版权和许可文件。