title: Why is there no static QDir::makepath()?
body: <p>I know, that to create a new path in Qt from a given absolute path, you use <code>QDir::makepath()</code> as <code>dir.makepath(path)</code>, as it is suggested in <a href="https://stackoverflow.com/questions/9641807/qdir-mkdir-with-absolutepath">this</a> question. I do not have any trouble in using it and it works fine. My question is directed, as to <strong>why</strong> the developers would not provide a static function to call in a way like <code>QDir::makepath("/Users/me/somepath/");</code>. Needing to create a new <code>QDir</code> instance seems unnecessary to me.</p>
  
  <p>I can only think of two possible reasons:</p>
  
  <p><strong>1.</strong> The developers were "lazy" or did not have time so they did not add one as it is not absolutely necessary.</p>
  
  <p><strong>2.</strong> The instance of <code>QDir</code> on which <code>mkpath(path)</code> is called, will be set to <code>path</code> as well, so it would be convenient for further usage - but I can not seem to find any hints that this is the actual behaviour within the <a href="http://doc.qt.io/qt-5/qdir.html#mkdir" rel="nofollow noreferrer">docs</a>.</p>
  
  <p>I know I repeat myself, but again, I do <strong>not</strong> need help as of <em>how</em> to do it, but I am much interested as of <em>why</em> one has to do it that way.
  Thanks for any reason I might have missed.</p>