Qbs: Show build qbs files not referenced in the products/groups

Show build system files used by Qbs that are part of the project
hierarchy in the Projects Pane.

Change-Id: Ie7d1f1833fb00376f92c1436bd83e4f0518ae3ac
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Tobias Hunger
2014-07-22 15:43:10 +02:00
parent 6166caee20
commit e9e1f77965
2 changed files with 46 additions and 3 deletions

View File

@@ -111,7 +111,7 @@ public:
QString productPath() const;
static void setupFiles(QbsBaseProjectNode *root, const QStringList &files,
static void setupFiles(FolderNode *root, const QStringList &files,
const QString &productPath, bool updateExisting);
private:
@@ -184,6 +184,10 @@ private:
static QIcon m_projectIcon;
};
// --------------------------------------------------------------------
// QbsRootProjectNode:
// --------------------------------------------------------------------
class QbsRootProjectNode : public QbsProjectNode
{
Q_OBJECT
@@ -197,7 +201,10 @@ public:
QbsProject *project() const { return m_project; }
private:
QStringList unreferencedBuildSystemFiles(const qbs::Project &p) const;
QbsProject * const m_project;
ProjectExplorer::FolderNode *m_buildSystemFiles;
};