当前位置:网站首页>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讲解
边栏推荐
- 16. Learn MySQL Regular Expressions
- 谷歌插件.crx文件下载后被自动删除的解决方法
- C# 局部函数与事件
- JCMsuite Application: Oblique Plane Wave Propagation Transmission Through Aperture
- X射线掠入射聚焦反射镜
- leetcode: 212. Word Search II
- Zheng Qing freshmen school competition and middle-aged engineering selection competition
- 基于 Next.js实现在线Excel
- leetcode:254. 因子的组合
- I love Tanabata hahaha
猜你喜欢

xampp安装包含的组件有(php,perl,apche,mysql)

数据库恢复

Phasecraft连下两城,助力英国量子技术商业化加速!

Basic Introduction for PLSQL

JCMsuite应用:倾斜平面波传播透过光阑的传输

leetcode: 241. Designing precedence for arithmetic expressions

Database recovery

leetcode:254. 因子的组合

NPDP|作为产品经理,如何快速提升自身业务素养?

【历史上的今天】8 月 4 日:第一位图灵奖女性得主;NVIDIA 收购 MediaQ;首届网络安全挑战大赛完成
随机推荐
【Today in History】August 4: First female Turing Award winner; NVIDIA acquires MediaQ; first Cybersecurity Challenge completed
技术分享| 小程序实现音视频通话
C# 将dll打包到程序中
How to write SQL statements: the usage of Update, Case, and Select together
关于pnpm包管理器的版本问题
广告电商系统开发功能只订单处理
Oracle database user creation, restart, import and export
Why does the decimal point appear when I press the space bar in word 2003?
直播系统开发——直播间架构的设计及难点分析
[机缘参悟-60]:《兵者,诡道也》-1-开篇:“死“与“生“都是天道
分布式链路追踪Jaeger + 微服务Pig在Rainbond上的实践分享
using关键字学习
基于 Next.js实现在线Excel
OAID是什么
四平方和,激光炸弹
Android Sqlite3基本命令
[Opportunity Enlightenment-60]: "Soldiers, Stupid Ways"-1- Opening: "Death" and "Life" are the way of heaven
Kyushu Cloud attended the Navigator Online Forum to discuss the current status, challenges and future of 5G MEC edge computing
leetcode: 251. Expanding 2D Vectors
leetcode: 254. Combinations of factors