How to Build Qt 6 in Docker Container?
-
I am trying to build a Docker based base image for building Qt Applications but Qt doesn't support silent install. I saw this one but there is no release for Qt 6. https://hub.docker.com/r/vookimedlo/ubuntu-qt.
did any one figure out how to install Qt libraries in Docker image? or How to create Docker image out of Qt Application so that i can run the non GUI Qt application as a Docker container.I would like to use QMQTT, Qt OPUA Client modules.
Thank you inadvance.
-
Hi,
You might want to consider the aqtinstall project.
-
@SGaist thank you for the reply. It installs the Qt libs. I was wondering. How can i use my Qt Commercial license code? because during the install it didnt ask for any of the Qt login credentails. Also, my main purpose of testing QMqtt and Qt Opc ua modules are not installed :( . what do you suggest in this case? Maybe i should consider different way of creating my Docker container for my Qt Application which just sends and receives msg from MQTT broker?
-
AFAIK it simply uses the OpenSource available releases.
The Qt Mqtt and QtOPC UA modules are not provided pre-built, at least in the OpenSource release.