Please use simply int instead of qint32 everywhere.