One previously(Qt5.11.2) added working correctly. Even without activating it Visual Studio picking and using it. Is there any cache to remove?
Unable to add new qt version in Qt VS Tools.
--- qmake(10408): started C:\QT\QT5.12.5\5.12.5\MSVC2017_64\bin\qmake.exe
--- qmake: Querying persistent properties
--- qmake(10408): exit code 0 (62.66 msecs)
vcvars: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
cl: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX64\x64\cl.exe
--- qmake(9236): started C:\QT\QT5.12.5\5.12.5\MSVC2017_64\bin\qmake.exe
--- qmake: Working Directory: C:\Users\xxxxxxxx\AppData\Local\Temp\js2muf1m.fqe
--- qmake: Arguments: QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe -o "js2muf1m.fqe.vcxproj" -tp vc -Wnone "js2muf1m.fqe.pro"
Info: creating stash file C:\Users\xxxxxxxx\AppData\Local\Temp\js2muf1m.fqe.qmake.stash
ASSERT: "uint(i) < uint(size())" in file c:\users\qt\work\qt\qtbase\include\qtcore../../src/corelib/tools/qstring.h, line 936
--- qmake(9236): exit code -1073740791 (2293.29 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 93