forked from qt-creator/qt-creator
QmlProjectManager: fix - can not use allImports()
That method is introduced in a future commit Change-Id: If8847db1ecd9d2fc8b122f8a5cc5d92e2ba229ae Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -734,7 +734,7 @@ QStringList QmlBuildSystem::absoluteImportPaths() const
|
|||||||
|
|
||||||
QStringList QmlBuildSystem::targetImportPaths() const
|
QStringList QmlBuildSystem::targetImportPaths() const
|
||||||
{
|
{
|
||||||
return Utils::transform<QStringList>(allImports(), [&](const QString &importPath) {
|
return Utils::transform<QStringList>(m_projectItem->importPaths(), [&](const QString &importPath) {
|
||||||
const Utils::FilePath filePath = Utils::FilePath::fromString(importPath);
|
const Utils::FilePath filePath = Utils::FilePath::fromString(importPath);
|
||||||
if (filePath.isAbsolutePath()) {
|
if (filePath.isAbsolutePath()) {
|
||||||
return importPath;
|
return importPath;
|
||||||
|
Reference in New Issue
Block a user