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

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 2.6.0 (rev.07)
    • Documentation, General
    • None
      • mcr.microsoft.com/windows/servercore:1809
      • VS Build Tools 2019 (16.8.4)
      • Qt 5.15.2
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated: