title: Building Qt 4.8 on Windows 8 With VS2010 Pro
body: <p>I've installed VS2010 Pro on Windows 8 Consumer Preview (x64) for making <strong>desktop</strong> apps. (no Metro). I have downloaded the Qt 4.8 source and tried to configure it like this: </p>
  
  <pre><code>C:\Libraries\Qt4.8\qt-everywhere-opensource-src-4.8.0&gt;configure -debug-and-relea
  se -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3su
  pport
  </code></pre>
  
  <p>I get this error: </p>
  
  <pre><code>Qt: Untested Windows version 6.2 detected!
  Unable to detect the platform from environment. Use -platform command lineargume
  nt or set the QMAKESPEC environment variable and run configure again
  See the README file for a list of supported operating systems and compilers.
  </code></pre>
  
  <p>What option/s do I need to set to make it compile?</p>
  
  <p>EDIT: this works:</p>
  
  <pre><code>configure -debug-and-release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -platform win32-msvc2010
  </code></pre>