aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4global_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r--src/qml/jsruntime/qv4global_p.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h
index 01c5245a54..3569247459 100644
--- a/src/qml/jsruntime/qv4global_p.h
+++ b/src/qml/jsruntime/qv4global_p.h
@@ -43,7 +43,7 @@
#define QV4GLOBAL_H
#include <QtCore/qglobal.h>
-
+#include <QString>
#include <qtqmlglobal.h>
#if defined(Q_CC_MSVC)
@@ -232,6 +232,14 @@ struct PropertyAttributes
}
};
+struct StackFrame {
+ QString source;
+ QString function;
+ int line;
+ int column;
+};
+typedef QVector<StackFrame> StackTrace;
+
}
Q_DECLARE_TYPEINFO(QV4::PropertyAttributes, Q_PRIMITIVE_TYPE);