Giter Site home page Giter Site logo

docker-qt's Introduction

Qt build environment for various target platforms

This repository contains docker files for a Qt build environment with Qbs. It is based upon Ubuntu 16.04. The resulting docker image makes it very easy to build Qt applications in any continuous delivery pipeline. Releases are built using travis-ci and pushed to dockerhub.

The following target platforms are supported:

  • x86_64-linux (gcc 5.4.0)
  • x86_64-mingw32-w64 (mingw32 5.3.1)

Containing Qt modules (Qt 5.9.8):

  • qtcore
  • qtdeclarative
  • qtnetwork
  • qtserialport
  • qtxml

A lot of Qt modules are missing at the moment because otherwise the build process would exceed Travis' 50 minutes time limit. They might be added at a later point.

How to use

Pull the latest version from docker hub:

docker pull rweickelt/qt:latest-mingw-w64

Execute qbs on a file in the current directory:

docker run -v ${PWD}:/myproject rweickelt/qt:mingw-w64-latest \
    install -f /myproject.qbs --install-root /myproject/results \
    profile:qt5

This mounts the current directory as /myproject inside the docker container and runs qbs on it. The build result is written to /myproject/results and hence, into a subfolder results in the current directory.

The default profile is qt5 and could be also ommitted.

Changelog

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.