Dockerfile for building a containerized Qt SW development environment for WebAssembly. The Docker images are published at forderud/qtwasm on Docker Hub.
Instructions:
- Download and install Docker desktop from https://www.docker.com/products/docker-desktop/
- From the settings, configure http and https proxy settings, as well as proxy bypass
- Start Docker desktop in "Linux container" mode
Look at the scripts in the image
subfolder.
Docker cleanup:
- Clean local images:
docker image prune
- Clean build cache:
docker builder prune
From a Windows host:
- Run either
build_cmake.bat
orbuild_qmake.bat
to build the sample project using either QMake or CMake. A web browser will automatically open and load the app after the build process have completed.