Forward-declare QV4::String in qqmlmetatype_p.h.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Mon, 30 Sep 2013 13:52:38 +0000 (15:52 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 3 Oct 2013 06:52:11 +0000 (08:52 +0200)
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 <lars.knoll@digia.com>
src/qml/qml/qqmlmetatype_p.h

index 8d6229d..2f473f5 100644 (file)
@@ -61,8 +61,6 @@
 #include <QtCore/qbitarray.h>
 #include <QtQml/qjsvalue.h>
 
-#include <private/qv4string_p.h>
-
 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: