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

EXEC : warning : Cannot find Visual Studio installation directory, VCINSTALLDIR is not set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Component/s: Qt/MSBuild
    • Labels:
      None
    • Environment:
      Windows 10

      Visual Studio 16.9.1 Professional

      Qt Vs Tool 2.7.1
    • Platform/s:
      Windows

      Description

      When "Run Deployment Tool" is set to "Yes", following warning is issued at compilation :

      EXEC : warning : Cannot find Visual Studio installation directory, VCINSTALLDIR is not set

       

      As a result, "vc_redist.x86.exe" is not deployed.

      Other Qt DLL, translation files, etc., are deployed.

       

      Running directly windeployqt (in a VS shell, and after calling qtenv2.bat) deploy  "vc_redist.x86.exe".

       

      See attached sample project (projet created with Wizard, only modification is setting "Run Deployment Tool" is set to "Yes").

        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:
            simon_derouault simon_derouault
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes