anchor.diff:     cecho {0D}Building Qt. Please be patient, this will take a while.{# #}{\n}
      IF %USE_JOM%==TRUE (
         cecho {0D}- Building Qt with jom{# #}{\n}
  -      "%DEPS%\Qt\jom\jom.exe"
  +      "%DEPS%\qt\jom\jom.exe"
         :: Qt build system is slightly broken: see https://bugreports.qt-project.org/browse/QTBUG-6470. Work around the issue.
         set ERRORLEVEL=0
         del /s /q mocinclude.tmp
  -      "%DEPS%\Qt\jom\jom.exe"
  +      "%DEPS%\qt\jom\jom.exe"
      ) ELSE (
         cecho {0D}- Building Qt with nmake{# #}{\n}
         nmake /nologo
  
positive.code:    IF NOT %ERRORLEVEL%==0 GOTO :ERROR
     IF %USE_JOM%==TRUE (
        cecho {0D}- Building QtPropertyBrowser with jom{# #}{\n}
        "%DEPS%\Qt\jom\jom.exe"
     ) ELSE (
        cecho {0D}- Building QtPropertyBrowser with nmake{# #}{\n}
        nmake /nologo
  
negative.code:     IF NOT EXIST "%DEPS%\qt\lib\QtWebKit4.dll". echo '%QT_OPENSSL_CONFIGURE%'
  )
  
  :: Set QMAKESPEC and QTDIR in case we are going to build qt. If we don't do this
  :: a system set QMAKESPEC might take over the build in some bizarre fashion.
  :: Note 1: QTDIR is not used while build, neither should QMAKESPEC be used when -platform is given to configure.
  :: Note 2: We cannot do this inside the qt IF without @setlocal EnableDelayedExpansion.
  set QMAKESPEC=%DEPS%\qt\qt-src-4.7.4\mkspecs\win32-msvc2008
  set QTDIR=%DEPS%\qt\qt-src-4.7.4
  
  IF NOT EXIST "%DEPS%\qt\lib\QtWebKit4.dll". (
     IF NOT EXIST "%DEPS%\qt\qt-src-4.7.4". (
        cecho {0E}Warning: %DEPS%\qt\qt-src-4.7.4 does not exist, extracting Qt failed?.{# #}{\n}
        GOTO :ERROR
     )
     cd "%DEPS%\qt\qt-src-4.7.4"
  
     IF NOT EXIST "configure.cache". (
        cecho {0D}Configuring Qt build. Please answer 'y'!{# #}{\n}
        configure -platform win32-msvc2008 -debug-and-release -opensource -prefix "%DEPS%\qt" -shared -ltcg -no-qt3support -no-opengl -no-openvg -no-dbus -no-phonon -no-phonon-backend -nomake examples -nomake demos -qt-zlib -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff %QT_OPENSSL_CONFIGURE%
  