aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/parser/qmljsast_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/parser/qmljsast_p.h')
-rw-r--r--src/lib/corelib/parser/qmljsast_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/corelib/parser/qmljsast_p.h b/src/lib/corelib/parser/qmljsast_p.h
index dcee233da..e2ba68508 100644
--- a/src/lib/corelib/parser/qmljsast_p.h
+++ b/src/lib/corelib/parser/qmljsast_p.h
@@ -57,6 +57,10 @@
#include <QtCore/qstring.h>
+#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
+#include <QtCore5Compat/qstringref.h>
+#endif
+
namespace QbsQmlJS {
#define QMLJS_DECLARE_AST_NODE(name) \