summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-04-11 16:03:18 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-06-19 16:40:05 +0200
commit61bcd838fafa5a5856fcae2023464b5f2999d398 (patch)
treee2f95aae106337f1dd7fc5b708eb5b45312466f9
parente203e42906b85485ff093d5cd5122e72550adaa9 (diff)
automatically add the module version headers to %classnames
Change-Id: I7706a0d54e704320e9e1e480b387e46417739ccf Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
-rwxr-xr-xbin/syncqt2
-rw-r--r--sync.profile12
2 files changed, 2 insertions, 12 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 6bcaccc1dc..849c22f70a 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -880,6 +880,8 @@ foreach my $lib (@modules_to_sync) {
}
}
+ $classnames{lc($lib)."version.h"} = $lib."Version";
+
#remove the old files
if($remove_stale) {
my %injections = ();
diff --git a/sync.profile b/sync.profile
index 362118aefa..da9c174691 100644
--- a/sync.profile
+++ b/sync.profile
@@ -31,18 +31,6 @@
"qtconcurrentmap.h" => "QtConcurrentMap",
"qtconcurrentfilter.h" => "QtConcurrentFilter",
"qtconcurrentrun.h" => "QtConcurrentRun",
- "qtcoreversion.h" => "QtCoreVersion",
- "qtdbusversion.h" => "QtDBusVersion",
- "qtguiversion.h" => "QtGuiVersion",
- "qtnetworkversion.h" => "QtNetworkVersion",
- "qtopenglversion.h" => "QtOpenGLVersion",
- "qtsqlversion.h" => "QtSqlVersion",
- "qttestversion.h" => "QtTestVersion",
- "qtxmlversion.h" => "QtXmlVersion",
- "qtwidgetsversion.h" => "QtWidgetsVersion",
- "qtprintsupportversion.h" => "QtPrintSupportVersion",
- "qtconcurrentversion.h" => "QtConcurrentVersion",
- "qtplatformsupportversion.h" => "QtPlatformSupportVersion",
);
%mastercontent = (
"core" => "#include <QtCore/QtCore>\n",