summaryrefslogtreecommitdiffstats
path: root/tools/linguist
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-06-30 23:38:45 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-06-30 23:38:45 (GMT)
commit61fcaa0e659e1bc676e0ce4124d49aaae565b26c (patch)
treee7071373a429da340e62bb7cfea0acb7029b63b4 /tools/linguist
parent9681d2190541c63a39b2cfe70dc3aaa161ebe703 (diff)
downloadQt-61fcaa0e659e1bc676e0ce4124d49aaae565b26c.zip
Qt-61fcaa0e659e1bc676e0ce4124d49aaae565b26c.tar.gz
Qt-61fcaa0e659e1bc676e0ce4124d49aaae565b26c.tar.bz2
Support compile-in-namespace for the declarative module.
Diffstat (limited to 'tools/linguist')
-rw-r--r--tools/linguist/lupdate/qml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linguist/lupdate/qml.cpp b/tools/linguist/lupdate/qml.cpp
index f33eae3..f66a6bd 100644
--- a/tools/linguist/lupdate/qml.cpp
+++ b/tools/linguist/lupdate/qml.cpp
@@ -47,8 +47,6 @@
#include <QtCore/QFile>
#include <QtCore/QString>
-QT_BEGIN_NAMESPACE
-
#include "parser/qmljsengine_p.h"
#include "parser/qmljsparser_p.h"
#include "parser/qmljslexer_p.h"
@@ -65,6 +63,8 @@ QT_BEGIN_NAMESPACE
#include <iostream>
#include <cstdlib>
+QT_BEGIN_NAMESPACE
+
using namespace QmlJS;
class FindTrCalls: protected AST::Visitor