summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-08-05 07:48:42 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-08-05 07:48:42 (GMT)
commit719e22c7fd34112460cddecb1491c3575c5a8c86 (patch)
tree90ddf095cfffd437f169736570eae682f6c4195e
parentae205367d7af4bb86279386af6d9fea6f726915b (diff)
parent29d77e6003d0e156e5979dc8eb72e7ed8eb51456 (diff)
downloadQt-719e22c7fd34112460cddecb1491c3575c5a8c86.zip
Qt-719e22c7fd34112460cddecb1491c3575c5a8c86.tar.gz
Qt-719e22c7fd34112460cddecb1491c3575c5a8c86.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging: Fixed incorrect include/Qt/qconfig.h in binary packages.
-rwxr-xr-xbin/syncqt5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 1e553dc..f63f06a 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -691,7 +691,10 @@ 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" ) );
+my %inject_headers;
+# Force generation of forwarding header for qconfig.h if (and only if) we can't
+# find the header by normal means.
+%inject_headers = ( "$basedir/src/corelib/global" => ( "*qconfig.h" ) ) unless (-e "$basedir/src/corelib/global/qconfig.h");
foreach (@modules_to_sync) {
#iteration info