An open API service indexing awesome lists of open source software.

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.

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