Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to Build Qt 6 in Docker Container?
Qt 6.11 is out! See what's new in the release blog

How to Build Qt 6 in Docker Container?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 4.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vishnureddy220
    wrote on last edited by vishnureddy220
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You might want to consider the aqtinstall project.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vishnureddy220
        wrote on last edited by vishnureddy220
        #3

        @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?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved