https://github.com/hadim/docker-qt
Compile a C++/Qt project within Docker.
https://github.com/hadim/docker-qt
Last synced: 7 months ago
JSON representation
Compile a C++/Qt project within Docker.
- Host: GitHub
- URL: https://github.com/hadim/docker-qt
- Owner: hadim
- License: mit
- Created: 2017-03-24T18:21:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T17:42:00.000Z (about 6 years ago)
- Last Synced: 2025-03-06T16:49:15.621Z (over 1 year ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 33
- Watchers: 4
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-qt
Compile a C++/Qt project within Docker.
Qt version used is `5.9.4`.
## Usage
Create a `build.sh` file :
```bash
cd /src
qmake -r
make
make install
```
Then a `docker-compose.yml` file :
```yml
version: '2.1'
services:
builder:
image: hadim/docker-qt
volumes:
- ./src:/src
- ./local/:/local
- ./build.sh:/build.sh
```
Launch the automatic build script `/build.sh` with `docker-compose up` or launch a bash session with `docker-compose run builder bash`.
## Author
- Hadrien Mary