[Interest] Qt 5.11.1 inside of a Docker container

Thiago Macieira thiago.macieira at intel.com
Tue Aug 21 17:42:59 CEST 2018


On Tuesday, 21 August 2018 07:39:19 PDT Michael Jackson wrote:
> I’m a bit new to Docker but this will end up being a Qt question. I have
> been trying to figure out how to install Qt 5.11.1 into a Docker container
> based on Ubuntu 18.04. The first obvious way was to download the Qt
> installer and try running that until one realizes that the installer
> requires a GUI to run, which Docker does not seem to have. Searched around
> on the internet and about the only process seems to just be to outright
> build the version of Qt that you require if it is not provided by the
> normal packaging system. Qt 5.9.5 is provided for Ubuntu 18.04. For those
> that use Docker to host builds is that what is commonly done? I thought
> about just installing Qt 5.11.1 into my host environment and then use the
> COPY command to copy it into the Docker image that is being created but
> something just didn’t seem “right” about doing it that way. I have found
> some scripts that seem to think that they can strip out installer
> components but those scripts don’t seem to work. Has there been any
> movement in the ability to install Qt in a truly headless environment
> without having to build from source?

Add one of these PPA and install:
https://launchpad.net/~beineri

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list