From: Friedemann Kleint Date: Mon, 30 Sep 2013 13:52:38 +0000 (+0200) Subject: Forward-declare QV4::String in qqmlmetatype_p.h. X-Git-Tag: upstream/5.2.1~306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de43f7c93df67421766f74539e4f8a0370494fa8;p=platform%2Fupstream%2Fqtdeclarative.git Forward-declare QV4::String in qqmlmetatype_p.h. Required for follow-up changes reordering inline functions for MinGW as otherwise QV4::Value::isString() is reported as used but not defined. Change-Id: Ib07caa9eee667295ecc88f94ab8960b100cd084b Reviewed-by: Lars Knoll --- diff --git a/src/qml/qml/qqmlmetatype_p.h b/src/qml/qml/qqmlmetatype_p.h index 8d6229d..2f473f5 100644 --- a/src/qml/qml/qqmlmetatype_p.h +++ b/src/qml/qml/qqmlmetatype_p.h @@ -61,8 +61,6 @@ #include #include -#include - QT_BEGIN_NAMESPACE class QQmlType; @@ -74,6 +72,8 @@ class QHashedString; class QHashedStringRef; class QReadWriteLock; +namespace QV4 { struct String; } + class Q_QML_PRIVATE_EXPORT QQmlMetaType { public: