aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmldirparser_p.h
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-03-14 12:49:36 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-19 23:20:30 +0100
commitc5cd60a96d19a89e466f0ad62c2f5a625aaf4d8c (patch)
tree384ace077ffc73f2e3b2de3fa261227f05ee2fca /src/qml/qml/qqmldirparser_p.h
parent601c7383ab58042f914418df60b70e875a48f1d2 (diff)
Ensure JS files imported inside modules work correctly
When a module exports functionality provided by a script, ensure that imported script modules inside that script resolve correctly. Task-number: QTBUG-24596 Change-Id: I3885dcc56946423f0d7cf00afdcdfaa0cb11967a Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmldirparser_p.h')
-rw-r--r--src/qml/qml/qqmldirparser_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmldirparser_p.h b/src/qml/qml/qqmldirparser_p.h
index 8c681309ac..f46e1781da 100644
--- a/src/qml/qml/qqmldirparser_p.h
+++ b/src/qml/qml/qqmldirparser_p.h
@@ -55,6 +55,7 @@
#include <QtCore/QUrl>
#include <QtCore/QHash>
+#include <QtCore/QDebug>
QT_BEGIN_NAMESPACE
@@ -160,6 +161,8 @@ private:
typedef QList<QQmlDirParser::Component> QQmlDirComponents;
typedef QList<QQmlDirParser::Script> QQmlDirScripts;
+QDebug &operator<< (QDebug &, const QQmlDirParser::Component &);
+QDebug &operator<< (QDebug &, const QQmlDirParser::Script &);
QT_END_NAMESPACE