summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-04-03 14:19:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-16 18:34:06 +0200
commit311fe0e811f0f0f23cd3b3fac7ae919a65baadc6 (patch)
tree97d82df13d04e4b75317d96213a88f676ca131b9 /bin
parent1329a5778364f966cf6c42ca4fb3ff9c09f39a2f (diff)
remove support for forwarding module pri creation via syncqt
now that all modules have migrated, this dead code can be removed. Change-Id: I5e9c7dd3fb271346d1b5f0e2930874da3e4d2d57 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt40
1 files changed, 0 insertions, 40 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 23230c2c4b..98709928a7 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -102,8 +102,6 @@ my $check_includes = 0;
my $copy_headers = 0;
my $create_uic_class_map = 0;
my $create_private_headers = 1;
-my $module_fwd = "";
-my $developer_build = 0;
my @modules_to_sync ;
$force_relative = 1 if ( -d "/System/Library/Frameworks" );
@@ -136,10 +134,6 @@ sub showUsage
print " Create headers for <NAME> with original headers in\n";
print " <HEADERDIR> relative to <PROFILEDIR> \n";
print " -private Force copy private headers (default: " . ($create_private_headers ? "yes" : "no") . ")\n";
- print " -module-fwd <PATH> Create fwd includes for module pri files in the given\n";
- print " path (default: none)\n";
- print " -developer-build Point libraries and binaries to a common directory for\n";
- print " easy development\n";
print " -help This help\n";
exit 0;
}
@@ -625,12 +619,6 @@ while ( @ARGV ) {
$arg eq "-relative" || $arg eq "-check-includes") {
$var = substr($arg, 1);
$val = "yes";
- } elsif($arg eq "-module-fwd") {
- $var = "module_fwd";
- $val = shift @ARGV;
- } elsif($arg eq "-developer-build") {
- $var = "developer_build";
- $val = "yes";
} elsif($arg =~ /^-no-(.*)$/) {
$var = $1;
$val = "no";
@@ -739,10 +727,6 @@ while ( @ARGV ) {
} else {
die "The -qtdir option requires an argument";
}
- } elsif ($var eq "module_fwd") {
- $module_fwd = $val;
- } elsif ($var eq "developer_build") {
- $developer_build = 1;
} elsif ($var eq "output") {
my $outdir = $val;
if(checkRelative($outdir)) {
@@ -1130,30 +1114,6 @@ foreach my $lib (@modules_to_sync) {
close HEADERS_PRI_FILE;
print "$lib: created headers.pri file\n" if($verbose_level);
}
-
- # create forwarding module pri in qtbase/mkspecs/modules
- if ($module_fwd) {
- my $modulepri = $modulepris{$lib};
- if (defined $modulepri and -e $modulepri) {
- my $modulepriname = basename($modulepri);
- make_path($module_fwd, $lib, $verbose_level);
- my $moduleprifwd = "$module_fwd/$modulepriname";
- my $mod_base = $basedir;
- my $mod_component_base = $developer_build ? $qtbasedir : $out_basedir;
- open MODULE_PRI_FILE, ">$moduleprifwd" or die("Could not open $moduleprifwd for writing");
- print MODULE_PRI_FILE "QT_MODULE_BASE = $mod_base\n";
- print MODULE_PRI_FILE "QT_MODULE_BIN_BASE = $mod_component_base/bin\n";
- print MODULE_PRI_FILE "QT_MODULE_INCLUDE_BASE = $out_basedir/include\n";
- print MODULE_PRI_FILE "QT_MODULE_IMPORT_BASE = $mod_component_base/imports\n";
- print MODULE_PRI_FILE "QT_MODULE_LIB_BASE = $mod_component_base/lib\n";
- print MODULE_PRI_FILE "QT_MODULE_PLUGIN_BASE = $mod_component_base/plugins\n";
- print MODULE_PRI_FILE "include($modulepri)\n";
- close MODULE_PRI_FILE;
- utime(time, (stat($modulepri))[9], $moduleprifwd);
- } elsif ($modulepri) {
- print "$lib: WARNING: Module\'s pri file '$modulepri' not found.\n$lib: Skipped creating forwarding pri.\n";
- }
- }
}
}
unless($showonly || !$create_uic_class_map) {