title: Qt QString toInt() fails
body: <p>I have a 'QString' containing "-3.5", however if I try to convert this to an integer using the 'toInt' method it returns 0.  Why?</p>
  
  <pre><code>    QString strTest = "-3.5";
      int intTest = strTest.toInt();
  
      qDebug() &lt;&lt; intTest;
  </code></pre>
  
  <p>intTest will be 0 ?</p>