From f6ff374cb5890c323aa5a7ce27ae9c49762181d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Jen=C3=9Fen?= Date: Fri, 20 Sep 2024 11:00:04 +0200 Subject: [PATCH] QmlProjectManager: use new allImports method Change-Id: I1fd27d88d993187724a4535def616482508504ee Reviewed-by: Tim Jenssen --- src/plugins/qmlprojectmanager/buildsystem/qmlbuildsystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmlprojectmanager/buildsystem/qmlbuildsystem.cpp b/src/plugins/qmlprojectmanager/buildsystem/qmlbuildsystem.cpp index b2f61dc30bb..701da75dd57 100644 --- a/src/plugins/qmlprojectmanager/buildsystem/qmlbuildsystem.cpp +++ b/src/plugins/qmlprojectmanager/buildsystem/qmlbuildsystem.cpp @@ -734,7 +734,7 @@ QStringList QmlBuildSystem::mockImports() const QStringList QmlBuildSystem::absoluteImportPaths() const { - return Utils::transform(m_projectItem->importPaths(), [&](const QString &importPath) { + return Utils::transform(allImports(), [&](const QString &importPath) { Utils::FilePath filePath = Utils::FilePath::fromString(importPath); if (filePath.isAbsolutePath()) return projectDirectory().resolvePath(importPath).path();