当前位置:网站首页>QT笔记——QUuid了解
QT笔记——QUuid了解
2022-08-04 14:50:00 【旧街凉风°】
QUuid 可 生成一个唯一的标识码,主要是利用它的静态方法,windows平台下具有唯一性
#include <QUuid>
QString uuidStr = QUuid::createUuid().toString();
qDebug() << "uuidStr:" << uuidStr;
QString Str = uuidStr.remove("-").remove("{").remove("}");
qDebug() << "Str:"<< Str;
运行结果:
参考博客:
QUui讲解
边栏推荐
猜你喜欢

leetcode: 251. Expanding 2D Vectors

【剑指offer59】队列的最大值

用了TCP协议,就一定不会丢包吗?

Lixia Action | Kyushu Yunzhang Jinnan: Open source is not a movement for a few people, popularization is the source

leetcode:253. 至少需要多少间会议室

token 过期后,如何自动续期?

【Today in History】August 4: First female Turing Award winner; NVIDIA acquires MediaQ; first Cybersecurity Challenge completed

郑轻新生校赛和中工选拔赛题解

饿了么智能头盔专利获授权,进一步提升骑手安全保障

Database recovery
随机推荐
C# 局部函数与事件
Technology sharing | Description of the electronic fence function in the integrated dispatching system
Almost all known protein structures in the world are open sourced by DeepMind
数据链路层-------以太网协议
OAID是什么
SQL语句的写法:Update、Case、 Select 一起的用法
实际工作中的高级技术(训练加速、推理加速、深度学习自适应、对抗神经网络)
在腾讯,我的试用期总结!
leetcode: 259. Smaller sum of three numbers
token 过期后,如何自动续期?
leetcode:250. 统计同值子树
什么,你告诉我?作用域也分种类?
JCMsuite Application: Oblique Plane Wave Propagation Transmission Through Aperture
集合划分差最小问题(01背包)
Cisco-小型网络拓扑(DNS、DHCP、网站服务器、无线路由器)
7 天能找到 Go 工作吗?学学 Go 数组和指针试试
分布式链路追踪Jaeger + 微服务Pig在Rainbond上的实践分享
Hangzhou Electric School Competition (Counter Attack Index)
第十六章 源代码文件 REST API 教程(一)
1403. Minimum Subsequence in Non-Increasing Order