summaryrefslogtreecommitdiffstats
path: root/patches/0005-Expose-private-support-for-separate-module-in-syncqt.patch
blob: fce2b0742c017753123740235c9b383e3ad5a8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From a251c24a96f9aae635f34c0d1f77419bf98c0a75 Mon Sep 17 00:00:00 2001
From: Liang Qi <liang.qi@nokia.com>
Date: Mon, 15 Nov 2010 16:43:22 +0100
Subject: [PATCH] Expose private support for separate module in syncqt.

---
 qtbase/bin/syncqt |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/qtbase/bin/syncqt b/qtbase/bin/syncqt
index 451521c..b867106 100755
--- a/qtbase/bin/syncqt
+++ b/qtbase/bin/syncqt
@@ -82,6 +82,7 @@ sub showUsage
     print "  -outdir <PATH>        Specify output directory for sync  (default: $out_basedir)\n";
     print "  -quiet                Only report problems, not activity (default: " . ($quiet ? "yes" : "no") . ")\n";
     print "  -separate-module <NAME>:<PROFILEDIR>:<HEADERDIR> Create headers for <NAME> with original headers in <HEADERDIR> relative to <PROFILEDIR> \n";
+    print "  -private              Force copy private headers         (default: " . ($create_private_headers ? "yes" : "no") . ")\n";
     print "  -help                 This help\n";
     exit 0;
 }
@@ -589,6 +590,9 @@ while ( @ARGV ) {
     } elsif($arg eq "-quiet") {
         $var = "quiet";
         $val = "yes";
+    } elsif($arg eq "-private") {
+        $var = "create_private_headers";
+        $val = "yes";
     } elsif($arg eq "-base-dir") {
         # skip, it's been dealt with at the top of the file
         shift @ARGV;
@@ -651,7 +655,6 @@ while ( @ARGV ) {
         push @modules_to_sync, $module;
         $moduleheaders{$module} = $headerdir;
         $create_uic_class_map = 0;
-        $create_private_headers = 0;
     } elsif ($var eq "output") {
         my $outdir = $val;
         if(checkRelative($outdir)) {
-- 
1.7.3.4