anchor.diff:    set ENVSTR=Environment to build for 32-bit executable  MSVC / Qt
   )
   
  -echo %QT_INSTALL_PREFIX% | find "msvc2019" >NUL
  +"%DEVENV%" /? | find "Visual Studio 2022" >NUL
  +if not ERRORLEVEL 1 (
  +  set VSVER=2022
  +  if /i "%Platform%" == "x64" (
  +    set CMAKEOPT=-G"Visual Studio 17 2022" -A x64
  +  ) else (
  +    set CMAKEOPT=-G"Visual Studio 17 2022" -A Win32
  +  )
  +  goto :step2
  +)
  +
  +"%DEVENV%" /? | find "Visual Studio 2019" >NUL
   if not ERRORLEVEL 1 (
     set VSVER=2019
     if /i "%Platform%" == "x64" (
  
positive.code: for %%I in (qmake.exe)  do if exist %%~$path:I set QMAKE=%%~$path:I
  for %%I in (cmake.exe)  do if exist %%~$path:I set CMAKE=%%~$path:I
  for %%I in (cl.exe)     do if exist %%~$path:I set MSCOMPILER=%%~$path:I
  for %%I in (devenv.exe) do if exist %%~$path:I set DEVENV=%%~$path:I
  
  if "%QMAKE%" == "" (
    echo Qt environment not found
  
negative.code:   ) else (
      set CMAKEOPT=-G"Visual Studio 16 2019" -A Win32
    )
    goto :step2
  )
  
  "%DEVENV%" /? | find "Visual Studio 2017" >NUL
  if not ERRORLEVEL 1 (
    set VSVER=2017
    if /i "%Platform%" == "x64" (
      set CMAKEOPT=-G"Visual Studio 15 2017 Win64"
    ) else (
      set CMAKEOPT=-G"Visual Studio 15 2017"
    )
    goto :step2
  )
  
  "%DEVENV%" /? | find "Visual Studio 2015" >NUL
  if not ERRORLEVEL 1 (
    set VSVER=2015
    if /i "%Platform%" == "x64" (
      set CMAKEOPT=-G"Visual Studio 14 2015 Win64"
    ) else (
      set CMAKEOPT=-G"Visual Studio 14 2015"
    )
    goto :step2
  )
  
  
  :step2
  SET /P X="%ENVSTR%"<NUL
  qtpaths.exe --qt-version
  
  