GUI: Fix: Create all directories in build dir (#1009)
mkdir() only creates the "last" directory, if more directories in the path are missing it fails and does not create any directory. With mkpath() all missing directories are created now.
This commit is contained in:
parent
36ebf165c8
commit
2f861070de
|
@ -1451,7 +1451,7 @@ void MainWindow::analyzeProject(const ProjectFile *projectFile)
|
|||
QMessageBox::Yes | QMessageBox::No,
|
||||
this);
|
||||
if (msg.exec() == QMessageBox::Yes) {
|
||||
QDir().mkdir(buildDir);
|
||||
QDir().mkpath(buildDir);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue