title: Qt - easiest way to convert int to file size format (KB, MB or GB)?
body: <p>What is the easiest way to convert <code>int</code> of file size to string in file size format like:</p>
  
  <pre><code>2048 to 2 KB
  4086 KB to 4 MB
  </code></pre>
  
  <p>instead of calculating it manually in Qt5?</p>