Fix build of sdktool

QStringView::first was introduced in Qt 6.0, use QStringView::left
instead

Amends a8145ff6c9

Change-Id: I6983eb0f35cc6f4887160f1d201a43db0fee361b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2022-09-06 11:07:35 +02:00
parent 29f9f0d822
commit b1fd3f6e33

View File

@@ -346,7 +346,7 @@ QStringView FilePath::pathWithoutRoot() const
QStringView FilePath::root() const
{
return QStringView{m_path}.first(m_rootLen);
return QStringView{m_path}.left(m_rootLen);
}
void FilePath::setParts(const QStringView scheme, const QStringView host, const QStringView path)