aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlmetatype_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-09-30 15:52:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-03 08:52:11 +0200
commitde43f7c93df67421766f74539e4f8a0370494fa8 (patch)
tree4450362ed21f15a53b7a2d478d21687d736ba7c4 /src/qml/qml/qqmlmetatype_p.h
parent47635b6e872e3f537ba8859ff2ef7453a4ba374a (diff)
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 <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlmetatype_p.h')
-rw-r--r--src/qml/qml/qqmlmetatype_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlmetatype_p.h b/src/qml/qml/qqmlmetatype_p.h
index 8d6229d82c..2f473f5f46 100644
--- a/src/qml/qml/qqmlmetatype_p.h
+++ b/src/qml/qml/qqmlmetatype_p.h
@@ -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: