forked from qt-creator/qt-creator
QmlProjectManager: Fix include paths
Change-Id: I1f5b0089e8d31d96682401a87bfd21eb3f4880f5 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -32,16 +32,16 @@
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/target.h>
|
||||
|
||||
#include "projectexplorer/projectmanager.h"
|
||||
#include "projectitem/qmlprojectitem.h"
|
||||
#include "projectnode/qmlprojectnodes.h"
|
||||
#include <projectexplorer/projectmanager.h>
|
||||
#include <projectitem/qmlprojectitem.h>
|
||||
#include <projectnode/qmlprojectnodes.h>
|
||||
|
||||
#include "utils/algorithm.h"
|
||||
#include "utils/filepath.h"
|
||||
#include "utils/filesystemwatcher.h"
|
||||
#include "utils/qtcassert.h"
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/filepath.h>
|
||||
#include <utils/filesystemwatcher.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include "texteditor/textdocument.h"
|
||||
#include <texteditor/textdocument.h>
|
||||
|
||||
#include <QAction>
|
||||
|
||||
@@ -242,7 +242,7 @@ void QmlBuildSystem::initMcuProjectItems()
|
||||
Utils::FilePath projectDir = projectFilePath().parentDir();
|
||||
// traverse the project dir and find all other mcu projects (.qmlproject files) in the project tree
|
||||
// and add them to the m_mcuProjectItems vector
|
||||
QDirIterator it(projectDir.toString(), QDir::Files, QDirIterator::Subdirectories);
|
||||
QDirIterator it(projectDir.toFSPathString(), QDir::Files, QDirIterator::Subdirectories);
|
||||
while (it.hasNext()) {
|
||||
it.next();
|
||||
if (it.fileInfo().suffix() == "qmlproject" && it.filePath() != projectFilePath().toString()) {
|
||||
|
@@ -6,13 +6,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "../qmlprojectmanager_global.h"
|
||||
|
||||
#include <projectexplorer/buildsystem.h>
|
||||
#include <QtCore/qfilesystemwatcher.h>
|
||||
#include <utils/filesystemwatcher.h>
|
||||
|
||||
#include "qmlprojectmanager/cmakegen/cmakegenerator.h"
|
||||
|
||||
#include "utils/filesystemwatcher.h"
|
||||
|
||||
namespace QmlProjectManager {
|
||||
|
||||
class QmlProject;
|
||||
@@ -122,7 +121,7 @@ private:
|
||||
// this is the main project item
|
||||
QSharedPointer<QmlProjectItem> m_projectItem;
|
||||
// these are the mcu project items which can be found in the project tree
|
||||
QVector<QSharedPointer<QmlProjectItem>> m_mcuProjectItems;
|
||||
QList<QSharedPointer<QmlProjectItem>> m_mcuProjectItems;
|
||||
Utils::FileSystemWatcher m_mcuProjectFilesWatcher;
|
||||
bool m_blockFilesUpdate = false;
|
||||
|
||||
|
Reference in New Issue
Block a user