anchor.diff:  SET QMAKESPEC=win32-g++
   SET QTDIR=%PKTH_BaseDir%\qt
   cd qt
  -%PKTH_OldDir%\third_party_apps\find -name *.cpp -exec sed -i "s/Q_DECL_IMPORT extern/Q_CORE_EXPORT/g" {} ;
  +REM %PKTH_OldDir%\third_party_apps\find -name *.cpp -exec sed -i "s/Q_DECL_IMPORT extern/Q_CORE_EXPORT/g" {} ;
   configure -static -fast -no-qt3support -qt-sql-sqlite -no-dbus -no-opengl -no-openssl -no-phonon -no-webkit
   qmake projects.pro -o Makefile -spec win32-g++
   mingw32-make sub-src
  
positive.code: if not exist %PKTH_BaseDir%\gsasl. (
  echo.
  echo Downloading gsasl
  %PKTH_OldDir%\third_party_apps\wget http://josefsson.org/gnutls4win/gsasl-1.4.2-idn.zip
  mkdir gsasl
  %PKTH_OldDir%\third_party_apps\7za x -y -ogsasl gsasl-1.4.2-idn.zip
  REM Wait 5 seconds for the file cache.
  @ping 127.0.0.1 -n 5 -w 1000 > nul
  REM Remove files for dynamic linking, we do not want to accidently use them
  
negative.code: if not exist %PKTH_BaseDir%\qt. (
  echo.
  echo Downloading Qt
  %PKTH_OldDir%\third_party_apps\wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.zip
  if not errorlevel 0 goto downloadFailed
  echo.
  echo Unpacking Qt
  %PKTH_OldDir%\third_party_apps\7za x -y qt-everywhere-opensource-src-4.7.0.zip
  REM Wait 5 seconds for the file cache, else ren might fail.
  @ping 127.0.0.1 -n 5 -w 1000 > nul
  ren qt-everywhere-opensource-src-4.7.0 qt
  )
  if not exist %PKTH_BaseDir%\qt goto qtFailure
  echo.
  