anchor.diff:  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
  +for %%I in (devenv.com) do if exist %%~$path:I set DEVENV=%%~$path:I
   
   if "%QMAKE%" == "" (
     echo Qt environment not found
  
positive.code:   ) else (
      set CMAKEOPT=-G"Visual Studio 16 2019" -A Win32
    )
  ) else (
    echo %QT_INSTALL_PREFIX% | find "msvc2017" >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"
      )
    ) else (
      set VSVER=2015
      if /i "%Platform%" == "x64" (
        set CMAKEOPT=-G"Visual Studio 14 2015 Win64"
      ) else (
        set CMAKEOPT=-G"Visual Studio 14 2015"
      )
    )
  )
  
  SET /P X="%ENVSTR%"<NUL
  qtpaths.exe --qt-version
  
  
negative.code:   exit /b
  )
  if "%MSCOMPILER%" == "" if "%DEVENV%"  == "" (
    echo Visual Studio compiler not found
    exit /b
  )
  
  :: vcvarsall.bat setup
  set MAKE=nmake
  