title: How to get distribution name and version of OS in qmake
body: <p>I want to get the distribution name and version name of OS in qmake. For Linux, in some distributions (Debian, Ubuntu, CentOS, ...), I used:</p>
  
  <pre><code>DISTRIBUTION = $$system(cat /etc/issue | cut -d\' \' -f1)
  message($$DISTRIBUTION)
  OSVERSION = $$system(cat /etc/issue | cut -d\' \' -f3)
  message($$OSVERSION)
  </code></pre>
  
  <p>On my Debian 7.8, the output is:</p>
  
  <pre><code>Project MESSAGE: Debian
  Project MESSAGE: 7
  </code></pre>
  
  <p>This is a correct result. But I'm not sure about this way.
  I'm finding for Windows too: Windows 7, 8, ...</p>
  
  <p>Do you have any idea about this in qmake?</p>