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

Cannot add Qt 6.3.0 to the VS addin

    XMLWordPrintable

Details

    • Windows

    Description

      Tried adding the 6.3.0 installation to the VS addin and I am getting the following errors:

       

      vcvars: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvars64.bat
      cl: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\cl.exe
      --- qmake(17192): started C:\QT\6.3.0\MSVC2019_64\bin\qmake.exe
      --- qmake: Working Directory: C:\Users\radu.coriu\AppData\Local\Temp\d3stllf5.yy5
      --- qmake: Arguments: QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe -o "d3stllf5.yy5.vcxproj" -tp vc -Wnone "d3stllf5.yy5.pro"
      Could not find qmake spec 'win32-msvc'.
      Error processing project file: d3stllf5.yy5.pro
      --- qmake(17192): exit code 3 (82.15 msecs)
      Error reading VS project settings
      Stacktrace:
       at QtVsTools.Core.VersionInformation..ctor(String qtDirIn)
       at QtVsTools.Core.VersionInformation.Get(String qtDir)
       at QtVsTools.Options.QtVersionsPage.SaveSettingsToStorage() in C:\dev\source\qtlabs\vstools\QtVsTools.Package\Options\QtVersionsPage.cs:line 117
      Cannot delete a subkey tree because the subkey does not exist.
      Stacktrace:
       at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
       at Microsoft.Win32.RegistryKey.DeleteSubKey(String subkey, Boolean throwOnMissingSubKey)
       at QtVsTools.Core.QtVersionManager.RemoveVersion(String versionName)
       at QtVsTools.Options.QtVersionsPage.<SaveSettingsToStorage>g__RemoveVersion|10_0(String versionName) in C:\dev\source\qtlabs\vstools\QtVsTools.Package\Options\QtVersionsPage.cs:line 95
      

      Tried reinstalling the extension and deleting the remaining files and registry keys, but the same happens.
      Managed to bypass it by adding the version manually in the registry, but when trying to build I am getting the same:

       

      Could not find qmake spec 'win32-msvc'.

      Attachments

        Issue Links

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

          Activity

            People

              mecfc Miguel Costa
              radu.coriu Radu Coriu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes