use quint64 in place of uint64_t for QDataStream