Use qint64 rather than int64_t.