From 84a1cc9fb76269521456d09abab65c402cf481b7 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Mon, 3 Aug 2020 08:49:37 +0200 Subject: Fix compilation with newer qtbase qstrtod is no longer exported, but instead an inline function. This replaces the existing forward declarations with an include of the required private header. Change-Id: I50bd32557c55dddcb197f163609fd7d5a1b2301b Reviewed-by: Shawn Rutledge Reviewed-by: Thiago Macieira --- src/qml/parser/qqmljslexer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/qml/parser') diff --git a/src/qml/parser/qqmljslexer.cpp b/src/qml/parser/qqmljslexer.cpp index 601596a9e3..c0ff69c6c4 100644 --- a/src/qml/parser/qqmljslexer.cpp +++ b/src/qml/parser/qqmljslexer.cpp @@ -43,16 +43,14 @@ #include #include +#include + #include #include #include #include -QT_BEGIN_NAMESPACE -Q_CORE_EXPORT double qstrtod(const char *s00, char const **se, bool *ok); -QT_END_NAMESPACE - using namespace QQmlJS; static inline int regExpFlagFromChar(const QChar &ch) -- cgit v1.2.3