forked from qt-creator/qt-creator
Fix build with Qt 6: qstrtod is an inline function
Change-Id: Ib620871532484bcaa43cfffd1628d6bf0f93fd78 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -35,9 +35,7 @@
|
|||||||
#include <QtCore/qdebug.h>
|
#include <QtCore/qdebug.h>
|
||||||
#include <QtCore/QScopedValueRollback>
|
#include <QtCore/QScopedValueRollback>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
#include <QtCore/private/qlocale_tools_p.h>
|
||||||
Q_CORE_EXPORT double qstrtod(const char *s00, char const **se, bool *ok);
|
|
||||||
QT_END_NAMESPACE
|
|
||||||
|
|
||||||
QT_QML_BEGIN_NAMESPACE
|
QT_QML_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
@@ -84,4 +84,4 @@ contains(QT, gui) {
|
|||||||
$$PWD/qmljsreformatter.h
|
$$PWD/qmljsreformatter.h
|
||||||
}
|
}
|
||||||
|
|
||||||
QT += xml
|
QT += xml core-private
|
||||||
|
Reference in New Issue
Block a user