aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/parser/qmljslexer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/parser/qmljslexer_p.h')
-rw-r--r--src/lib/corelib/parser/qmljslexer_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/corelib/parser/qmljslexer_p.h b/src/lib/corelib/parser/qmljslexer_p.h
index cf41fb255..aef68e0c5 100644
--- a/src/lib/corelib/parser/qmljslexer_p.h
+++ b/src/lib/corelib/parser/qmljslexer_p.h
@@ -56,6 +56,10 @@
#include <tools/qbs_export.h>
#include <QtCore/qstring.h>
+#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
+#include <QtCore5Compat/qstringref.h>
+#endif
+
namespace QbsQmlJS {
class Engine;