summaryrefslogtreecommitdiffstats
path: root/src/qdoc/qmlmarkupvisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/qmlmarkupvisitor.h')
-rw-r--r--src/qdoc/qmlmarkupvisitor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qdoc/qmlmarkupvisitor.h b/src/qdoc/qmlmarkupvisitor.h
index ab1180fd4..63d6f1bf4 100644
--- a/src/qdoc/qmlmarkupvisitor.h
+++ b/src/qdoc/qmlmarkupvisitor.h
@@ -38,11 +38,14 @@
#include "tree.h"
#include <qstring.h>
+#ifndef QT_NO_DECLARATIVE
#include <private/qqmljsastvisitor_p.h>
#include <private/qqmljsengine_p.h>
+#endif
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_DECLARATIVE
class QmlMarkupVisitor : public QQmlJS::AST::Visitor
{
public:
@@ -167,6 +170,7 @@ private:
int extraIndex;
};
Q_DECLARE_TYPEINFO(QmlMarkupVisitor::ExtraType, Q_PRIMITIVE_TYPE);
+#endif
QT_END_NAMESPACE