aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsapi/qjsvalue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsapi/qjsvalue.h')
-rw-r--r--src/qml/jsapi/qjsvalue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/jsapi/qjsvalue.h b/src/qml/jsapi/qjsvalue.h
index 3da76d16cb..c814ce14f8 100644
--- a/src/qml/jsapi/qjsvalue.h
+++ b/src/qml/jsapi/qjsvalue.h
@@ -158,6 +158,11 @@ private:
quint64 d;
};
+#ifndef QT_NO_DATASTREAM
+Q_QML_EXPORT QDataStream &operator<<(QDataStream &, const QJSValue &);
+Q_QML_EXPORT QDataStream &operator>>(QDataStream &, QJSValue &);
+#endif
+
QT_END_NAMESPACE
Q_DECLARE_METATYPE(QJSValue)