title: why received the following error when using QT5?
body: <p>I am getting the following errors when I build a sample code using QT5, Visual Studio 2012 x64,</p>
  
  <pre><code>static inline qint64 nullJd() { return std::numeric_limits&lt;qint64&gt;::min(); }
  
  1&gt;c:\qt\qt5.1.1\5.1.1\msvc2012_64_opengl\include\qtcore\qdatetime.h(121): warning C4003: not enough actual parameters for macro 'min'
      1&gt;c:\qt\qt5.1.1\5.1.1\msvc2012_64_opengl\include\qtcore\qdatetime.h(121): error C2589: '(' : illegal token on right side of '::'
      1&gt;c:\qt\qt5.1.1\5.1.1\msvc2012_64_opengl\include\qtcore\qdatetime.h(121): error C2059: syntax error : '::'
  </code></pre>
  
  <p>How to fix?</p>