You can use this image to build your qt project in docker.
- Build image in docker with qt, no need to install qt (and all dependencies) on your host
- Easy to use with CMakefile and Makefile
Qt version | Distro | version | image tag | Status |
---|---|---|---|---|
6.8.1 | debian | bookworm | docker.io/bensuperpc/qt:debian-bookworm-6.8.1 | OK |
6.7.2 | debian | bookworm | docker.io/bensuperpc/qt:debian-bookworm-6.7.2 | OK |
6.6.3 | debian | bookworm | docker.io/bensuperpc/qt:debian-bookworm-6.6.3 | OK |
6.5.3 | debian | bookworm | docker.io/bensuperpc/qt:debian-bookworm-6.5.3 | OK |
6.6.3 | debian | bullseye | docker.io/bensuperpc/qt:debian-bullseye-6.6.3 | OK |
6.5.3 | debian | bullseye | docker.io/bensuperpc/qt:debian-bullseye-6.5.3 | OK |
Component | Min | Recommanded |
---|---|---|
CPU | 2 cores | 8 cores |
RAM | 16 GB | 32 GB (48 GB for webengine) |
GPU | CLI | CLI |
Disk space | HDD 30 GB | SSD 50 GB |
Internet | 10 Mbps | 100 Mbps |
OS | Linux | Linux |
Docker | - | - |
With this configuration, you can build qt in 40min (2h30 whith webengine etc...):
- AMD Ryzen 7 5700x (8 cores/16 threads at 3.4 GHz/4.6 GHz)
- 32 GB RAM DDR4 3200 MHz
- Gigabyte B450 Aorus Elite V2
- Nvidia RTX 3060 Ti 8 GB KFA2
- 2*2 TB SSD NVMe Samsung 970 Evo plus (PCIe 3.0 x4 and x2)
- 100 Mbps internet
- Manjaro Linux
- qt 6.7.1 (06/2024)
Clone this repository
git clone --recursive https://github.com/bensuperpc/docker-qt.git
The table below shows the available debian versions. buster bullseye bookworm:
Debian | Makefile target | Status |
---|---|---|
Bookworm | bookworm | OK |
bullseye | bullseye | OK |
buster | buster | WIP |
make bookworm.test
Option | Default | Description |
---|---|---|
QT_VERSION | 6.8.1 | Qt version (Based of IMAGE_VERSION) |
AUTHOR | bensuperpc | Author name and 1st part of docker image name |
PROJECT_NAME | qt | Project name and 2nd part of docker image name |
Now you can start the container, it will mount the current directory in the container.
make bookworm.run
make update
MIT