Allow adding to @ignore_headers from sync.profile
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>
Thu, 4 Aug 2011 20:54:50 +0000 (15:54 -0500)
committerQt by Nokia <qt-info@nokia.com>
Thu, 4 Aug 2011 20:56:33 +0000 (22:56 +0200)
We need this to avoid syncing certain files in QtDeclarative on
Windows.

Change-Id: Ia9fc95262ac18bafc39efc038ea70a1b5d67cddd
Reviewed-on: http://codereview.qt.nokia.com/2641
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
bin/syncqt

index 0dcbc4d..e5f93bd 100755 (executable)
@@ -777,8 +777,8 @@ die "Cannot automatically detect/use provided path to QtBase's build directory!\
 # if we have no $basedir we cannot be sure which sources you want, so die
 die "Could not find any sync.profile for your module!\nPass <module directory> to syncqt to sync your header files.\nsyncqt failed" if (!$basedir);
 
-my @ignore_headers = ();
 my $class_lib_map_contents = "";
+our @ignore_headers = ();
 our @ignore_for_master_contents = ();
 our @ignore_for_include_check = ();
 our @ignore_for_qt_begin_header_check = ();