diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-06-19 12:12:32 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-22 11:29:38 +0200 |
commit | 9e686c502be0b68f39836f29027a58466cb517b7 (patch) | |
tree | be220f0250c86b37257448e56657e0ff0b576dec /src/qml/qml/qqmlaccessors_p.h | |
parent | b3f66958834424a2838042f7d0d8d2a50f28bf41 (diff) |
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 <lars.knoll@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlaccessors_p.h')
-rw-r--r-- | src/qml/qml/qqmlaccessors_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlaccessors_p.h b/src/qml/qml/qqmlaccessors_p.h index 4337997870..0a1cbda3ae 100644 --- a/src/qml/qml/qqmlaccessors_p.h +++ b/src/qml/qml/qqmlaccessors_p.h @@ -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 |