diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-08-03 08:49:37 +0200 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2020-08-06 19:42:11 +0200 |
commit | 84a1cc9fb76269521456d09abab65c402cf481b7 (patch) | |
tree | 31ae19f6427685739cedd7b42dbb87d39421622b /src/quick/util | |
parent | 139961fc510fc9d26cb2545e54a3f4a3eeb87149 (diff) |
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 <shawn.rutledge@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/quick/util')
-rw-r--r-- | src/quick/util/qquicksvgparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/util/qquicksvgparser.cpp b/src/quick/util/qquicksvgparser.cpp index 0687913565..3e783b26a8 100644 --- a/src/quick/util/qquicksvgparser.cpp +++ b/src/quick/util/qquicksvgparser.cpp @@ -43,10 +43,10 @@ #include <QtCore/qvarlengtharray.h> #include <QtCore/qstring.h> +#include <private/qlocale_tools_p.h> + QT_BEGIN_NAMESPACE -//copied from Qt SVG (qsvghandler.cpp). -Q_CORE_EXPORT double qstrtod(const char *s00, char const **se, bool *ok); // '0' is 0x30 and '9' is 0x39 static inline bool isDigit(ushort ch) { |