forked from qt-creator/qt-creator
New class wizard: Add Qt module dependencies, if necessary
Provide general infrastrucure and implementation for qmake. Fixes: QTCREATORBUG-16067 Change-Id: I8c6368fe2724c9450dcbc3410b6ca459bbbdc043 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -219,6 +219,13 @@ bool QmakePriFileNode::renameFile(const QString &filePath, const QString &newFil
|
||||
return pri ? pri->renameFile(filePath, newFilePath) : false;
|
||||
}
|
||||
|
||||
bool QmakePriFileNode::addDependencies(const QStringList &dependencies)
|
||||
{
|
||||
if (QmakePriFile * const pri = priFile())
|
||||
return pri->addDependencies(dependencies);
|
||||
return false;
|
||||
}
|
||||
|
||||
FolderNode::AddNewInformation QmakePriFileNode::addNewInformation(const QStringList &files, Node *context) const
|
||||
{
|
||||
Q_UNUSED(files)
|
||||
|
||||
Reference in New Issue
Block a user