From 9e686c502be0b68f39836f29027a58466cb517b7 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 19 Jun 2012 12:12:32 +0200 Subject: [PATCH] Fix build: include the necessary headers properly. qstrcmp is defined in qbytearray.h If QObject needs to be forward declared, then so does QMetaObject. Change-Id: I9dd3ad59ce889cee04583ead27fa760d784e5b84 Reviewed-by: Lars Knoll --- src/qml/qml/qqmlaccessors_p.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qml/qml/qqmlaccessors_p.h b/src/qml/qml/qqmlaccessors_p.h index 4337997..0a1cbda 100644 --- a/src/qml/qml/qqmlaccessors_p.h +++ b/src/qml/qml/qqmlaccessors_p.h @@ -43,6 +43,7 @@ #define QQMLACCESSORS_P_H #include +#include #include #include #include @@ -56,6 +57,7 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE class QObject; +class QMetaObject; class QQmlNotifier; // QML "accessor properties" allow V4 and V8 to bypass Qt's meta system to read and, more -- 2.7.4