Merge remote-tracking branch 'origin/11.0' into qds/dev

Conflicts:
  src/plugins/qmldesigner/components/stateseditor/stateseditorview.cpp
  src/plugins/qmldesigner/components/stateseditornew/stateseditorview.cpp
  src/plugins/qmldesigner/designercore/model/qmltextgenerator.cpp
  src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp

Change-Id: I4c8a33736b25c3bb24241224d0a1e7358bb7fd94
This commit is contained in:
Tim Jenssen
2023-06-08 16:21:43 +02:00
156 changed files with 1603 additions and 706 deletions

View File

@@ -107,8 +107,9 @@ void QmlBuildSystem::updateDeploymentData()
}
ProjectExplorer::DeploymentData deploymentData;
for (const auto &file : m_projectItem->files())
deploymentData.addFile(file, m_projectItem->targetDirectory());
for (const auto &file : m_projectItem->files()) {
deploymentData.addFile(file, targetFile(file).parentDir().path());
}
setDeploymentData(deploymentData);
}
@@ -187,7 +188,7 @@ void QmlBuildSystem::refresh(RefreshOptions options)
project()->files(Project::HiddenRccFolders));
for (const QString &searchPath : customImportPaths()) {
projectInfo.importPaths.maybeInsert(projectFilePath().pathAppended(searchPath),
projectInfo.importPaths.maybeInsert(projectDirectory().pathAppended(searchPath),
QmlJS::Dialect::Qml);
}