summaryrefslogtreecommitdiffstats
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
parentc37fbe0cbe0ccc0e5991df921aa0c7cf811a3baf (diff)
downloadQt-37fc9b6c3e10bb708d6c294ac37693b6df1d5351.zip
Qt-37fc9b6c3e10bb708d6c294ac37693b6df1d5351.tar.gz
Qt-37fc9b6c3e10bb708d6c294ac37693b6df1d5351.tar.bz2
Mobility 404
-rw-r--r--configure.exebin1180160 -> 1179136 bytes
-rw-r--r--src/declarative/qml/qmlguard_p.h4
-rw-r--r--tools/configure/configureapp.cpp4
3 files changed, 6 insertions, 2 deletions
diff --git a/configure.exe b/configure.exe
index 8913de1..980c190 100644
--- a/configure.exe
+++ b/configure.exe
Binary files differ
diff --git a/src/declarative/qml/qmlguard_p.h b/src/declarative/qml/qmlguard_p.h
index 1e55bcb..ad8dd84 100644
--- a/src/declarative/qml/qmlguard_p.h
+++ b/src/declarative/qml/qmlguard_p.h
@@ -94,10 +94,10 @@ private:
inline void remGuard();
};
-Q_DECLARE_METATYPE(QmlGuard<QObject>);
-
QT_END_NAMESPACE
+Q_DECLARE_METATYPE(QmlGuard<QObject>);
+
#include "qmldeclarativedata_p.h"
QT_BEGIN_NAMESPACE
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();