qt 自动产生 Guid 方法

strcpy(cmd->uid,QUuid::createUuid().toString().toStdString().c_str());

原文地址:https://www.cnblogs.com/yelanggu/p/4271555.html