This is what I have been doing, the directory does exist but then the folder is never created by the mkdir functions. Maybe I am missing something trivial but I cannot seem to find many examples on this using QDir.

pathname = C:\Documents and Settings\wrightc\Desktop\TESTS
folder = Test*_Results;

QDir directory(QString::fromStdString(pathname));
if(directory.exists()){
directory.mkdir(QString::fromStdString(folder));
}