Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33613

Make DockerDevice class accessible by other plugins

XMLWordPrintable

    • da068a3ef (master)

      Currently, the DockerDevice class is defined inside the Internal namespace and is not accessible by other Qt Creator plugins.

      I would like to suggest that DockerDevice be made available for external use, similar to how it is done in the RemoteLinux plugin.

      This change would allow other plugins to interact directly with Docker-based build devices without duplicating the logic already implemented in the Docker plugin.

      Rationale:

      • The DockerDevice class already provides all the necessary functionality for managing Docker containers as build devices.
      • Making it public would enable plugin developers to extend Qt Creator with better Docker integration.
      • This approach would be consistent with the RemoteLinux plugin, which exposes its LinuxDevice class for reuse by other plugins.

      Proposed change:
      Move DockerDevice out of the Internal namespace and expose it via DOCKER_EXPORT macro, allowing other plugins to reference and use it safely.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            madwinter Marcus Tillmanns
            faust747 Stanislav Polukhanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes