I have already read the differnce between absolut and relative. (And I think I understood the difference, its not that complicated)
But I dont know how to work with them.
For Example, why doesnt work my Code below?

Qt Code:
  1. QDir* Dir = new QDir("logs");
  2. QString test = Dir->absoluteFilePath("t");
  3. if (!Dir->exists())
  4. {
  5. Dir->mkdir(test);
  6. }
To copy to clipboard, switch view to plain text mode 

With the command absoluteFilePath("t") I get the absolute path where my directory should be.
But my Directory still isnt created.