forked from qt-creator/qt-creator
QmlProjectManager: Write cmake-generator issues into the issues panel
write qtquickcontrols file if it does not exist and minor cleanup of the cmake generator. Change-Id: I9b7523f32e5a9b41904c02a398a6f924623f949a Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -240,8 +240,8 @@ void CMakeWriter::writeFile(const Utils::FilePath &path, const QString &content)
|
||||
QTextStream stream(&fileHandle);
|
||||
stream << content;
|
||||
} else {
|
||||
QString text("Failed to write file: %1");
|
||||
CMakeGenerator::logIssue(text.arg(path.path()));
|
||||
QString text("Failed to write");
|
||||
CMakeGenerator::logIssue(ProjectExplorer::Task::Error, text, path);
|
||||
}
|
||||
fileHandle.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user