QT get uuid

interface:

Insert picture description here

head File:

#include <QUuid>

Source File:

Add a slot function to the button:
add two label controls to the interface

/**
 * @brief MainWindow::on_pushButton_clicked
 * 按获取按钮  展示uuid 存储
 */
void MainWindow

Guess you like

Origin blog.csdn.net/qq_45646951/article/details/113684180