title: QString.toInt() doesnt work - Error: invalid operands to binary expression ('const char *' and 'const char [14]')
body: <p>I have this code:</p>
  
  <pre><code>QString carda = "000123";
  QString queryStringAnet("SELECT * FROM [records] WHERE ([user]='" + carda.toInt() + "' AND [apl]='"+apl+"' AND [tasktype]='"+taskType+"' AND [taskkind]='"+taskKind+"' AND [timestamp]='"+timestamp+"')");
  </code></pre>
  
  <p>and for the conversion from QString to Int when I use carda.toInt() Im having this error:</p>
  
  <blockquote>
    <p>error: invalid operands to binary expression ('const char *' and
    'const char [14]')</p>
  </blockquote>
  
  <p>and warnings:</p>
  
  <pre><code>warning: adding 'int' to a string does not append to the string
  use array indexing to silence this warning
  </code></pre>
  
  <p>I dont understand why QString.toInt() wont be working... any idea?</p>