forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user