[Qt] Fix wipeclean on Windows

Reviewed by Csaba Osztrogonác.

Make sure to close the .qmake.cache file after opening it, otherwise it cannot be deleted on
a clean build because this process (build-webkit) is still using it due to Windows' exclusive
way of opening files.

* Scripts/webkitdirs.pm:
(buildQMakeProjects):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index 033ea3f..6515d1f 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,5 +1,18 @@
 2012-10-16  Simon Hausmann  <simon.hausmann@digia.com>
 
+        [Qt] Fix wipeclean on Windows
+
+        Reviewed by Csaba Osztrogonác.
+
+        Make sure to close the .qmake.cache file after opening it, otherwise it cannot be deleted on
+        a clean build because this process (build-webkit) is still using it due to Windows' exclusive
+        way of opening files.
+
+        * Scripts/webkitdirs.pm:
+        (buildQMakeProjects):
+
+2012-10-16  Simon Hausmann  <simon.hausmann@digia.com>
+
         [Qt] Fix determination of changed files from SVN revisions
 
         Reviewed by Csaba Osztrogonác.
diff --git a/Tools/Scripts/webkitdirs.pm b/Tools/Scripts/webkitdirs.pm
index 4dbe064..0291c47 100755
--- a/Tools/Scripts/webkitdirs.pm
+++ b/Tools/Scripts/webkitdirs.pm
@@ -2288,6 +2288,7 @@
                 $previousSvnRevision = $1;
             }
         }
+        close(QMAKECACHE);
     }
 
     my $result = 0;