summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 98709928a7..359e854d05 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -807,9 +807,6 @@ foreach my $lib (@modules_to_sync) {
my $pri_install_pfiles = "";
my $pri_install_qpafiles = "";
- push @{$inject_headers{$dir}}, lc($lib)."version.h";
- $classnames{lc($lib)."version.h"} = $lib."Version";
-
#remove the old files
if($remove_stale) {
my %injections = ();
@@ -1085,6 +1082,13 @@ foreach my $lib (@modules_to_sync) {
print " }\n" unless ($first);
}
+ # module version header
+ my $vheader = "$out_basedir/include/$lib/".lc($lib)."version.h";
+ my $VHeader = "$out_basedir/include/$lib/${lib}Version";
+ syncHeader($lib, $VHeader, $vheader, 0);
+ $pri_install_files .= fixPaths($vheader, $dir) . " ";
+ $pri_install_classes .= fixPaths($VHeader, $dir) . " ";
+
# KDE-Compat master header for Phonon
if ($lib eq "phonon") {
syncHeader($lib, "$out_basedir/include/phonon_compat/Phonon/Phonon", "$out_basedir/include/phonon/phonon", 0);