anchor.diff:      IF %TARGET_ARCH%==x64 (
           copy /Y X64\%DEBUG_OR_RELEASE%\libcelt.lib "%DEPS%\celt\lib\%DEBUG_OR_RELEASE%\"
       ) ELSE (
  -        copy /Y lib\%DEBUG_OR_RELEASE%\libcelt.lib "%DEPS%\celt\lib\%DEBUG_OR_RELEASE%\"
  +        copy /Y %DEBUG_OR_RELEASE%\libcelt.lib "%DEPS%\celt\lib\%DEBUG_OR_RELEASE%\"
  +        REM copy /Y lib\%DEBUG_OR_RELEASE%\libcelt.lib "%DEPS%\celt\lib\%DEBUG_OR_RELEASE%\"
       )
   
       :: Copy headers
  
positive.code:         IF NOT %ERRORLEVEL%==0 GOTO :ERROR
          cecho {0D}Building QtScriptGenerator.{# #}{\n}
          IF %USE_JOM%==TRUE (
              cecho {0D}- Building QtScriptGenerator with jom{# #}{\n}
              "%DEPS%\qt\jom\jom.exe"
          ) ELSE (
              cecho {0D}- Building QtScriptGenerator with nmake{# #}{\n}
              nmake /nologo
          )
      )
      IF NOT %ERRORLEVEL%==0 GOTO :ERROR
      cecho {0D}Executing QtScriptGenerator.{# #}{\n}
      call release\generator
      IF NOT %ERRORLEVEL%==0 GOTO :ERROR
      cd ..
      cd qtbindings
  
      sed -e "s/qtscript_phonon //" -e "s/qtscript_opengl //" -e "s/qtscript_uitools //" -e "s/qtscript_xml_patterns //" < qtbindings.pro > qtbindings.pro.sed
      IF NOT %ERRORLEVEL%==0 GOTO :ERROR
      del /Q qtbindings.pro
      IF NOT %ERRORLEVEL%==0 GOTO :ERROR
  
negative.code: set QTDIR=%DEPS%\qt\qt-src-%QT_VER%
  set QMAKESPEC=%QTDIR%\mkspecs\%QT_PLATFORM%
  
  IF NOT EXIST %QT_INSTALL_WEBKIT_DLL_FILENAME%. (
      IF NOT EXIST "%QTDIR%". (
          cecho {0E}Warning: %QTDIR% does not exist, extracting Qt failed?.{# #}{\n}
          GOTO :ERROR
  