forked from qt-creator/qt-creator
QmlProject: update mainFile after renaming it
Set mainFile at the QmlProject and replaces the string inside the .qmlproject file. If that file is open and modified just save that, it is not nice but qmake projects haves the same at the moment. Task-number: QTCREATORBUG-10629 Change-Id: Ia3916644bacfc65862802e3dc5361edd50951d35 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -64,6 +64,7 @@ public:
|
||||
|
||||
Utils::FileName canonicalProjectDir() const;
|
||||
QString mainFile() const;
|
||||
void setMainFile(const QString &mainFilePath);
|
||||
Utils::FileName targetDirectory(const ProjectExplorer::Target *target) const;
|
||||
Utils::FileName targetFile(const Utils::FileName &sourceFile,
|
||||
const ProjectExplorer::Target *target) const;
|
||||
|
||||
Reference in New Issue
Block a user