Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-866

QtVSTools in windows docker with VS Build Tools 2019

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0 (rev.07)
    • Fix Version/s: None
    • Component/s: Documentation, General
    • Labels:
      None
    • Environment:
      • mcr.microsoft.com/windows/servercore:1809
      • VS Build Tools 2019 (16.8.4)
      • Qt 5.15.2
    • Platform/s:
      Windows

      Description

      Hello,

      As we recently introduced a build docker image based on servercore:1809 for building our C++/Qt applications.

      For the projects to build successfully, the props, targets etc. introduced by Qt VS tools are required in the docker environment.

      Currently as workaround, we have to copy the contents of `$QtMsBuild` from a PC with working VS2019/Qt installation into the docker image and add some registry keys to allow to the Qt VS tools to resolve Qt-specific environment variables.

      e.g.

      [HKEY_CURRENT_USER\Software\Digia\Versions\msvc2019_64]
      "InstallDir"="C:\\Qt\\5.15.2
      msvc2019_64"

      Is there another way to streamline this? Is there any alternative (silent?) way to install the VS extension into the docker image to avoid copying machine specific files? Is this use case covered by the docs?

       

        Attachments

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

          Activity

            People

            Assignee:
            mecfc Miguel Costa
            Reporter:
            psybaba Ilias Bampalis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes