[Interest] Qt 5.11.1 inside of a Docker container

Carel Combrink carel.combrink at gmail.com
Tue Aug 21 16:49:03 CEST 2018


Hi,

I recently had success installing Qt 5.9.2 in a Windows docker
container using this link as a starting point:
https://stackoverflow.com/a/34032216/991000

I am on my way home at the moment, but if you do not get right I can
try to assist some more tomorrow.

Regards,
Carel
On Tue, Aug 21, 2018 at 4:39 PM Michael Jackson
<mike.jackson at bluequartz.net> 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?
>
>
>
> Thanks
>
> --
>
> Michael Jackson | Owner, President
>
>       BlueQuartz Software
>
> [e] mike.jackson at bluequartz.net
>
> [w] www.bluequartz.net
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list