Skip to content

guerinoni/qt-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published