aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/v4/qv4irbuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/v4/qv4irbuilder.cpp')
-rw-r--r--src/declarative/qml/v4/qv4irbuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/v4/qv4irbuilder.cpp b/src/declarative/qml/v4/qv4irbuilder.cpp
index 125e1d002a..c65b348c9f 100644
--- a/src/declarative/qml/v4/qv4irbuilder.cpp
+++ b/src/declarative/qml/v4/qv4irbuilder.cpp
@@ -42,7 +42,7 @@
#include "qv4irbuilder_p.h"
#include "qv4compiler_p_p.h"
-#include <private/qquickanchors_p_p.h> // For AnchorLine
+#include <private/qdeclarativemetatype_p.h>
#include <private/qdeclarativetypenamecache_p.h>
DEFINE_BOOL_CONFIG_OPTION(qmlVerboseCompiler, QML_VERBOSE_COMPILER)
@@ -72,7 +72,7 @@ static IR::Type irTypeFromVariantType(int t, QDeclarativeEnginePrivate *engine,
default:
if (t == qMetaTypeId<QDeclarative1AnchorLine>())
return IR::AnchorLineType;
- else if (t == qMetaTypeId<QQuickAnchorLine>())
+ else if (t == QDeclarativeMetaType::QQuickAnchorLineMetaTypeId())
return IR::SGAnchorLineType;
else if (engine->metaObjectForType(t)) {
return IR::ObjectType;