Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guerinoni/qt-wasm
Docker image for Qt WebAssembly
https://github.com/guerinoni/qt-wasm
docker docker-image qt qt-wasm qt5 wasm webassembly
Last synced: 18 days ago
JSON representation
Docker image for Qt WebAssembly
- Host: GitHub
- URL: https://github.com/guerinoni/qt-wasm
- Owner: guerinoni
- License: mit
- Created: 2020-05-28T17:09:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T13:15:04.000Z (almost 4 years ago)
- Last Synced: 2024-10-16T12:06:02.110Z (2 months ago)
- Topics: docker, docker-image, qt, qt-wasm, qt5, wasm, webassembly
- Language: Dockerfile
- Size: 17.6 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# qt-wasm
![Docker Image CI](https://github.com/guerinoni/qt-wasm/workflows/Docker%20Image%20CI/badge.svg)
![GitHub Container Registry](https://github.com/guerinoni/qt-wasm/workflows/GitHub%20Container%20Registry/badge.svg)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 :/home --name webassembly qtwa
```## Usage
Inside docker container
```
cd
mkdir build
cd build
qmake ..
make
emrun --no_browser --port 30000 .html
```
Open your host browser and go to `localhost:8080/.html`.