summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2010-07-17 06:59:01 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-07-17 06:59:01 (GMT)
commitb63431e771da3d35f17f9aa584391096eb7c2ab0 (patch)
tree2868d5f0e4c8abac294e6e588100696a07c1cba2 /bin
parentb01688735b8d716bbe0d026e5e0cc6b088628884 (diff)
downloadQt-b63431e771da3d35f17f9aa584391096eb7c2ab0.zip
Qt-b63431e771da3d35f17f9aa584391096eb7c2ab0.tar.gz
Qt-b63431e771da3d35f17f9aa584391096eb7c2ab0.tar.bz2
Revert "Revert "fix qconfig.h aliased header creation""
This reverts commit 7702be3de6e2641afb1062f533567ca7a72e8e0f as a potential fix is now available.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 11b1d72..cb67cc6 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -691,6 +691,7 @@ my @ignore_for_qt_begin_header_check = ( "qiconset.h", "qconfig.h", "qconfig-dis
my @ignore_for_qt_begin_namespace_check = ( "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qatomic_arch.h", "qatomic_windowsce.h", "qt_windows.h", "qatomic_macosx.h" );
my @ignore_for_qt_module_check = ( "$modules{QtCore}/arch", "$modules{QtCore}/global", "$modules{QtSql}/drivers", "$modules{QtTest}", "$modules{QtDesigner}", "$modules{QtUiTools}", "$modules{QtDBus}", "$modules{phonon}" );
my %colliding_headers = ();
+my %inject_headers = ( "$basedir/src/corelib/global" => ( "qconfig.h" ) );
foreach (@modules_to_sync) {
#iteration info
@@ -800,6 +801,7 @@ foreach (@modules_to_sync) {
foreach (@subdirs) {
my $subdir = "$_";
my @headers = findFiles("$subdir", "^[-a-z0-9_]*\\.h\$" , 0);
+ push @headers, $inject_headers{$subdir} if (defined $inject_headers{$subdir});
foreach (@headers) {
my $header = "$_";
$header = 0 if("$header" =~ /^ui_.*.h/);