forked from qt-creator/qt-creator
QbsProjectManager: Implement ProjectNode::targetApplications()
Change-Id: Ied997dcb7e0a3d68b48bb7149f3494a2077ec014 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -438,6 +438,11 @@ bool QbsProductNode::renameFile(const QString &filePath, const QString &newFileP
|
|||||||
return prjNode->project()->renameFileInProduct(filePath, newFilePath, m_qbsProductData, grp);
|
return prjNode->project()->renameFileInProduct(filePath, newFilePath, m_qbsProductData, grp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QStringList QbsProductNode::targetApplications() const
|
||||||
|
{
|
||||||
|
return QStringList{m_qbsProductData.targetExecutable()};
|
||||||
|
}
|
||||||
|
|
||||||
QString QbsProductNode::buildKey() const
|
QString QbsProductNode::buildKey() const
|
||||||
{
|
{
|
||||||
return QbsProject::uniqueProductName(m_qbsProductData);
|
return QbsProject::uniqueProductName(m_qbsProductData);
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ public:
|
|||||||
bool addFiles(const QStringList &filePaths, QStringList *notAdded = nullptr) override;
|
bool addFiles(const QStringList &filePaths, QStringList *notAdded = nullptr) override;
|
||||||
bool removeFiles(const QStringList &filePaths, QStringList *notRemoved = nullptr) override;
|
bool removeFiles(const QStringList &filePaths, QStringList *notRemoved = nullptr) override;
|
||||||
bool renameFile(const QString &filePath, const QString &newFilePath) override;
|
bool renameFile(const QString &filePath, const QString &newFilePath) override;
|
||||||
|
QStringList targetApplications() const override;
|
||||||
|
|
||||||
QString buildKey() const override;
|
QString buildKey() const override;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user