Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
2.9.1, 2.9.1 (rev.01)
-
None
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
- resulted in
-
QTVSADDINBUG-1022 Cannot add Qt version to the Qt VS Tools
- Closed