QbsProjectManager: Make generated files available in project tree

Task-number: QTCREATORBUG-15978
Change-Id: Ia1890f1c4f8d1fa76568e42e15741281acb7dbb0
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Christian Kandeler
2016-07-28 17:41:58 +02:00
committed by Christian Kandeler
parent f06a5db22b
commit bfd0827811
3 changed files with 37 additions and 17 deletions

View File

@@ -289,7 +289,7 @@ bool QbsProject::addFilesToProduct(QbsBaseProjectNode *node, const QStringList &
if (notAdded->count() != filePaths.count()) {
m_projectData = m_qbsProject.projectData();
QbsGroupNode::setupFiles(node, reRetrieveGroupData(productData, groupData),
allPaths, QFileInfo(productFilePath).absolutePath(), true);
allPaths, QFileInfo(productFilePath).absolutePath(), true, false);
rootProjectNode()->update();
emit fileListChanged();
}
@@ -318,7 +318,7 @@ bool QbsProject::removeFilesFromProduct(QbsBaseProjectNode *node, const QStringL
if (notRemoved->count() != filePaths.count()) {
m_projectData = m_qbsProject.projectData();
QbsGroupNode::setupFiles(node, reRetrieveGroupData(productData, groupData), allPaths,
QFileInfo(productFilePath).absolutePath(), true);
QFileInfo(productFilePath).absolutePath(), true, false);
rootProjectNode()->update();
emit fileListChanged();
}