title: Enable C++11 Support on Qt with MinGW or VS2012 Compilers
body: <p>I've just installed QtSDK and i have some problems whem I'm trying to use <strong>regex</strong> functions.</p>
  
  <p>I get this error when compile my program:</p>
  
  <pre><code>#error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This supports currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
  </code></pre>
  
  <p>I have tried to add this on my project file:</p>
  
  <pre><code>QMAKE_CXXFLAGS += -std=c++0x
  </code></pre>
  
  <p>and </p>
  
  <pre><code>QMAKE_CXXFLAGS += -std=gnu++0x
  </code></pre>
  
  <p>But I get more other errors. On Code::Blocks regex works fine and is using MinGW too.
  So how to use C++11 facilities on QtSDK?</p>