QmlProjectManager: use new allImports method

Change-Id: I1fd27d88d993187724a4535def616482508504ee
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tim Jenßen
2024-09-20 11:00:04 +02:00
committed by Tim Jenssen
parent 60096814b4
commit f6ff374cb5

View File

@@ -734,7 +734,7 @@ QStringList QmlBuildSystem::mockImports() const
QStringList QmlBuildSystem::absoluteImportPaths() const
{
return Utils::transform<QStringList>(m_projectItem->importPaths(), [&](const QString &importPath) {
return Utils::transform<QStringList>(allImports(), [&](const QString &importPath) {
Utils::FilePath filePath = Utils::FilePath::fromString(importPath);
if (filePath.isAbsolutePath())
return projectDirectory().resolvePath(importPath).path();