Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 636 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 636 Bytes

Straighforward Dockefile with Qt installed in it to use with CI for building Qt projects with GCC

Pre-built Docker image can be found in Docker repo

Usage

For example, here is how it can be used in Jenkins

  stage('Build Linux binary') {
    agent {
      docker {
        image 'vrex141/qt5.12_cpp17'
      }
    }
    steps {
      sh 'qmake workplace.pro -spec linux-g++ CONFIG+=qtquickcompiler && /usr/bin/make qmake_all'
      sh 'make'
      sh 'make clean'
      stash includes: 'bin/**', name: 'linux_binary'
    }
  }

Versions

  • Ubuntu 18.04
  • Qt 5.12.4