forked from qt-creator/qt-creator
Make QmlJS(Tools) build with Qt5 & Qt6
Port from QStringRef to QStringView Change-Id: I472d16f20e40ca52b8e5d481850a6bd8a1a38f3b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
|
||||
#include "qmljsastvisitor_p.h"
|
||||
|
||||
#include <QLocale>
|
||||
|
||||
QT_QML_BEGIN_NAMESPACE
|
||||
|
||||
namespace QmlJS { namespace AST {
|
||||
@@ -1529,7 +1531,7 @@ QString Type::toString() const
|
||||
void Type::toString(QString *out) const
|
||||
{
|
||||
for (QmlJS::AST::UiQualifiedId *it = typeId; it; it = it->next) {
|
||||
out->append(it->name);
|
||||
out->append(it->name.toString());
|
||||
|
||||
if (it->next)
|
||||
out->append(QLatin1Char('.'));
|
||||
|
||||
Reference in New Issue
Block a user