title: How to get format details of a drive in Qt
body: <p>I am working on an app where I need to display the file format of a drive(NTFS or FAT32). Now I did a little research and found that there is no Qt API which can make it easy for me to grab the format detail. So I came across a windows API which made it possible for me to get the format detail when I connect the drive(External or Internal) and run the application on windows.
  Here is the code:</p>
  
  <pre><code>TCHAR volumeName[MAX_PATH + 1] = { 0 };
  TCHAR fileSystemName[MAX_PATH + 1] = { 0 };
  DWORD serialNumber = 0;
  DWORD maxComponentLen = 0;
  DWORD fileSystemFlags = 0;
  
  LPCWSTR path = deviceData-&gt;m_strPath.utf16(); //deviceData-&gt;m_strpath gives me the drive path
  
  if (GetVolumeInformation(
      path,
      volumeName,
      ARRAYSIZE(volumeName),
      &amp;serialNumber,
      &amp;maxComponentLen,
      &amp;fileSystemFlags,
      fileSystemName,
      ARRAYSIZE(fileSystemName)))
  {
           newData.strFileSystem = QString::fromUtf16(fileSystemName);
  }   
  
      QList m_SDInfoList;
      m_SDInfoList.append(newData);
  </code></pre>
  
  <p>Is there a way I can get the same Format detail when I run my Qt app in MAC operating system? A MAC API that can help me to get the file format. Please help :)</p>