How can i ask one user to create a folder through one dialog box in qt .

So that whatever the name the user has given in the dialog box ( in a specific location,

for eg. c:/user/...) the folder will be created in that location and if the folder is

alreday present with the specific name in that location then replacement shall be done