Fix build: include the necessary headers properly.
authorThiago Macieira <thiago.macieira@intel.com>
Tue, 19 Jun 2012 10:12:32 +0000 (12:12 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 22 Jun 2012 09:29:38 +0000 (11:29 +0200)
qstrcmp is defined in qbytearray.h

If QObject needs to be forward declared, then so does QMetaObject.

Change-Id: I9dd3ad59ce889cee04583ead27fa760d784e5b84
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/qml/qml/qqmlaccessors_p.h

index 4337997..0a1cbda 100644 (file)
@@ -43,6 +43,7 @@
 #define QQMLACCESSORS_P_H
 
 #include <private/qtqmlglobal_p.h>
+#include <QtCore/qbytearray.h>
 #include <QtCore/qvector.h>
 #include <QtCore/qhash.h>
 #include <QtCore/QReadWriteLock>
@@ -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