anh5kor
19th January 2016, 09:27
How to create a folder at specific path
Eg:
I want to create a folder at location : D:/Polyspace/Source.
On above path my program should create a folder with some specific name
I tried the below code but its not working
QString path = "D:/Polyspace/Source";
QDir dir(path);
if (!dir.exists()){
dir.mkdir("NewFolder");
}
Eg:
I want to create a folder at location : D:/Polyspace/Source.
On above path my program should create a folder with some specific name
I tried the below code but its not working
QString path = "D:/Polyspace/Source";
QDir dir(path);
if (!dir.exists()){
dir.mkdir("NewFolder");
}