From 990a00698037e8941dfd65cc2dc94e8305ee78b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Jen=C3=9Fen?= Date: Fri, 20 Sep 2024 11:02:29 +0200 Subject: [PATCH] QmlProjectManager: fix - can not use allImports() That method is introduced in a future commit Change-Id: If8847db1ecd9d2fc8b122f8a5cc5d92e2ba229ae 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 0a2fff5922f..33c899146e1 100644 --- a/src/plugins/qmlprojectmanager/buildsystem/qmlbuildsystem.cpp +++ b/src/plugins/qmlprojectmanager/buildsystem/qmlbuildsystem.cpp @@ -734,7 +734,7 @@ QStringList QmlBuildSystem::absoluteImportPaths() const QStringList QmlBuildSystem::targetImportPaths() const { - return Utils::transform(allImports(), [&](const QString &importPath) { + return Utils::transform(m_projectItem->importPaths(), [&](const QString &importPath) { const Utils::FilePath filePath = Utils::FilePath::fromString(importPath); if (filePath.isAbsolutePath()) { return importPath;