Sign inSign up

guerra1994/qt-wasm

By guerra1994

•Updated over 5 years ago

Image for Qt WebAssembly build

Image
0

1.9K

guerra1994/qt-wasm repository overview

⁠qt-wasm

Docker Image CI GitHub Container Registry

Docker image for Qt WebAssembly

⁠Build

- clone repository
- cd qt-wasm
- docker build -t qtwa .

⁠Create container

Example that create container with name webassembly from image with name qtwa binding port 8080 of the host machine with 30000 of container and bind local folder with home folder of container

docker run -it -p 8080:30000 -v <project_dir>:/home --name webassembly qtwa

⁠Usage

Inside docker container

cd <project_dir>
mkdir build
cd build
qmake ..
make
emrun --no_browser --port 30000 <project_name>.html

Open your host browser and go to localhost:8080/<project_name>.html.

Tag summary

Content type

Image

Digest

Size

1.9 GB

Last updated

over 5 years ago

docker pull guerra1994/qt-wasm