forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.10'
Conflicts: CMakeLists.txt tests/unit/unittest/unittest.pro Change-Id: I64296ad31502d9b35012da129a28e9277e9fcf8e
This commit is contained in:
@@ -118,13 +118,13 @@ bool MakeInstallStep::init()
|
||||
}
|
||||
QDir rootDir(rootDirPath);
|
||||
if (cleanInstallRoot() && !rootDir.removeRecursively()) {
|
||||
emit addTask(Task(Task::Error, tr("The install root '%1' could not be cleaned.")
|
||||
emit addTask(Task(Task::Error, tr("The install root \"%1\" could not be cleaned.")
|
||||
.arg(installRoot().toUserOutput()),
|
||||
FilePath(), -1, Constants::TASK_CATEGORY_BUILDSYSTEM));
|
||||
return false;
|
||||
}
|
||||
if (!rootDir.exists() && !QDir::root().mkpath(rootDirPath)) {
|
||||
emit addTask(Task(Task::Error, tr("The install root '%1' could not be created.")
|
||||
emit addTask(Task(Task::Error, tr("The install root \"%1\" could not be created.")
|
||||
.arg(installRoot().toUserOutput()),
|
||||
FilePath(), -1, Constants::TASK_CATEGORY_BUILDSYSTEM));
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user