Build for Web
WebAssembly, WebGL 2, and Emscripten.
Build for Web
Web export creates a WebAssembly/WebGL 2 runtime that must be served from an HTTP server.
Requirements
- A compatible Qt WebAssembly kit.
- Emscripten SDK (emsdk) installed and available to build scripts.
- A browser supporting the required WebAssembly and WebGL features.
Activate emsdk
If automatic environment detection is unavailable, launch the editor from a command prompt with emsdk activated:
call C:\emsdk\emsdk_env.bat
start "" "C:\Path\To\AmzaEditor.exe"
Export
Choose Web in Build Settings, configure Product Name, favicon, and startup logo, and select an output folder.
Serve the Output
Do not launch WebAssembly output through file://. From the output directory, use an HTTP server:
py -3 -m http.server 8080
Then open http://localhost:8080/index.html.
Branding Cache
If the browser keeps an old tab icon or title, confirm the generated HTML references the new assets, then hard-refresh the page or test in a private browsing window.