diff options
author | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2021-07-06 23:50:30 +0200 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2021-07-20 09:02:15 +0000 |
commit | af88a7876b50ed9dd71e3fc7614eef5998908d03 (patch) | |
tree | 8d8345ea2962a11579b3802ce68df6732c290674 /src/libs/qmljs/qmljsplugindumper.cpp | |
parent | dc654cfcba7f1c446ea1bd32e326d3f8c747cf4f (diff) |
qmljs: update Qml parser to parser of Qt 6.2
this is needed (among other things) for
* null coalescing
* shebang support
Change-Id: I1b37fd86593f143de8b39c0daf433831a8785568
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/libs/qmljs/qmljsplugindumper.cpp')
-rw-r--r-- | src/libs/qmljs/qmljsplugindumper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/qmljs/qmljsplugindumper.cpp b/src/libs/qmljs/qmljsplugindumper.cpp index 376166559f..a131b4763a 100644 --- a/src/libs/qmljs/qmljsplugindumper.cpp +++ b/src/libs/qmljs/qmljsplugindumper.cpp @@ -154,8 +154,8 @@ void PluginDumper::onLoadPluginTypes(const QString &libraryPath, const QString & } // add typeinfo files listed in qmldir - foreach (const QmlDirParser::TypeInfo &typeInfo, libraryInfo.typeInfos()) { - QString pathNow = makeAbsolute(typeInfo.fileName, canonicalLibraryPath); + foreach (const QString &typeInfo, libraryInfo.typeInfos()) { + QString pathNow = makeAbsolute(typeInfo, canonicalLibraryPath); if (!plugin.typeInfoPaths.contains(pathNow) && QFile::exists(pathNow)) plugin.typeInfoPaths += pathNow; } |