title: How to determine how much free space on a drive in Qt?
body: <p>I'm using Qt and want a platform-independent way of getting the available free disk space.</p>
  
  <p>I know in Linux I can use <code>statfs</code> and in Windows I can use <code>GetDiskFreeSpaceEx()</code>.  I know boost has a way, <code>boost::filesystem::space(Path const &amp; p)</code>.  </p>
  
  <p>But I don't want those.  I'm in Qt and would like to do it in a Qt-friendly way.</p>
  
  <p>I looked at <code>QDir</code>, <code>QFile</code>, <code>QFileInfo</code> -- nothing!</p>