Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117030

windeployqt fails to find Visual Studio redist path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.2
    • None
    • Windows

    Description

      I get the warning:

      Warning: Cannot find Visual Studio redist directory, C:\Program Files\Microsoft Visual Studio\2022\Community\VC;\redist\MSVC. 

      My guess is that within qtbase/src/tools/windeployqt/main.cpp, static QString vcRedistDir(), vcRedistDirName is getting the path with a space on the end. Then redist/MSVC gets appended. Then QDir::toNativeSeparators(vcRedistDirName).toStdWString() changes the space to a semicolon separator.

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            paulmasri Paul
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes