summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWolfgang Beck <wolfgang.beck@nokia.com>2010-02-16 04:53:33 (GMT)
committerWolfgang Beck <wolfgang.beck@nokia.com>2010-02-16 04:53:33 (GMT)
commit37fc9b6c3e10bb708d6c294ac37693b6df1d5351 (patch)
treeae460e47439e312b87693a7809fd9b9c01ef44c7 /tools
parentc37fbe0cbe0ccc0e5991df921aa0c7cf811a3baf (diff)
downloadQt-37fc9b6c3e10bb708d6c294ac37693b6df1d5351.zip
Qt-37fc9b6c3e10bb708d6c294ac37693b6df1d5351.tar.gz
Qt-37fc9b6c3e10bb708d6c294ac37693b6df1d5351.tar.bz2
Mobility 404
Diffstat (limited to 'tools')
-rw-r--r--tools/configure/configureapp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 7154fd4..77b2f66 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -961,6 +961,7 @@ void Configure::parseCmdLine()
if(i==argCount)
break;
qmakeDefines += "QT_NAMESPACE="+configCmdLine.at(i);
+ dictionary[ "QT_NAMESPACE" ] = configCmdLine.at(i);
} else if( configCmdLine.at(i) == "-qtlibinfix" ) {
++i;
if(i==argCount)
@@ -2792,6 +2793,9 @@ void Configure::generateCachefile()
if(!dictionary["ARM_FPU_TYPE"].isEmpty()) {
configStream<<"MMP_RULES += \"ARMFPU "<< dictionary["ARM_FPU_TYPE"]<< "\"";
}
+ if (!dictionary["QT_NAMESPACE"].isEmpty()) {
+ configStream << "#namespaces" << endl << "QT_NAMESPACE = " << dictionary["QT_NAMESPACE"] << endl;
+ }
configStream.flush();
configFile.close();