aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmldirparser_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmldirparser_p.h')
-rw-r--r--src/qml/qml/qqmldirparser_p.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/qml/qml/qqmldirparser_p.h b/src/qml/qml/qqmldirparser_p.h
index 0486187a5c..c2f47f49b6 100644
--- a/src/qml/qml/qqmldirparser_p.h
+++ b/src/qml/qml/qqmldirparser_p.h
@@ -49,7 +49,7 @@
#include <QtCore/QHash>
#include <QtCore/QDebug>
#include <private/qqmljsengine_p.h>
-#include <private/qtqmlglobal_p.h>
+#include <private/qv4global_p.h>
QT_BEGIN_NAMESPACE
@@ -66,12 +66,8 @@ public:
bool parse(const QString &source);
bool hasError() const;
-#if defined(QT_BUILD_QMLDEVTOOLS_LIB) || defined(QT_QMLDEVTOOLS_LIB)
- QList<QQmlJS::DiagnosticMessage> errors(const QString &uri) const;
-#else
void setError(const QQmlError &);
QList<QQmlError> errors(const QString &uri) const;
-#endif
QString typeNamespace() const;
void setTypeNamespace(const QString &s);