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

windeployqt fails to find Visual Studio redist path

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes