A headless Qt build environment for Ubuntu
4.4K
A headless Qt 5.12 build environment for Ubuntu, tested with [18.04 LTS (Bionic Badger)][bionic].
docker pull garthk/qt-build:bionic-5.12.0docker run -t -i --rm -v $PWD:$PWD garthk/qt-build:bionic-5.12.0 bashqmake in the containerqt.qt5.5120.gcc_64, depending on the versionSet QTCOMPONENTS in your .env and rebuild to adjust.
/opt/qt/Docs (562MB in 5.12.0)/opt/qt/Examples (181MB in 5.12.0)/opt/qt/MaintenanceTool (32MB in 5.12.0)/opt/qt/Tools (500MB in 5.12.0)Set DELETE in your .env and rebuild to adjust.
brew install coreutils ; brew unlink coreutils, if you're on a MacmakeOr:
docker pull ubuntu:bionicdocker build .Use docker-build --build-arg to override QT, QTM, QTSHA, and QTCOMPONENTS to build with a different version of Qt.
.env-example to .envDOCKER_BUILD_TRIGGER_URLmake kickDocker Hub relies solely on Dockerfile, so you'll have to update all ARG values in the Makefile before committing and pushing.
QT in Makefilemake fetchQTSHA in Makefileqt-installer-noninteractive.qsmake imageContent type
Image
Digest
Size
373.1 MB
Last updated
over 7 years ago
docker pull garthk/qt-build:bionic-5.12.0