Skip to content

Docker containers for building Qbs projects with Qt and Clang or GCC

Notifications You must be signed in to change notification settings

arBmind/qbs-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Docker images for Qbs

This project builds Docker images around the Qbs build system used for CI runs.

Image (latest versions) Size
Docker Image Version (latest semver) Docker Image Size (latest semver)
Docker Image Version (latest semver) Docker Image Size (latest semver)
Docker Image Version (latest semver) Docker Image Size (latest semver)
Docker Image Version (latest semver) Docker Image Size (latest semver)
Docker Image Version (latest semver) Docker Image Size (latest semver)

Versions

The compiler and Qt versions, modules and packages are provided as build args.

See links to Dockerhub for older versions listed in tags. See .github/workflows/docker_build.yml for the current bulid matrix.

Basic Usage

The default entry point is the qbs command.

docker run -it \
    --mount src="$(pwd)",target=/project,type=bind \
    -w /project \
    arbmind/qbs-gcc:latest \
    build -d /tmp/qbs -p autotest-runner

This mounts your current directory to /project in the container. Changes the workdir to /project and runs qbs with build path /tmp/qbs and targets the autotest-runner.

If you want to run an interactive shell simply add the --entrypoint /bin/bash option.

Details

The Dockerfile is multi staged and has different targets for all the variants. All targets with underscores are meant to be internally only.

Note: clang libc++ Qt combination is missing because the Qt Company does not publish binaries built for libc++.

About

Docker containers for building Qbs projects with Qt and Clang or GCC

Topics

Resources

Stars

Watchers

Forks

Packages