Skip to content
imtobyPublic

About

A Tool for Create Uuid Format String Developed with Qt

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZUuid

A Tool for Create Uuid Format String Developed with Qt

#include <QCoreApplication>
#include "ZUuid.h"
#include <QDebug>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    ZUuid* zuuid = new ZUuid(a.parent());
    zuuid->setCurlyBraces(false);
    zuuid->setUppercase(true);
    zuuid->setSeparator("_");
    zuuid->setNameSpace(ZUuid::UNS_X500);

    qDebug() << zuuid->createUuidV5();

    const int r = a.exec();

    if (NULL != zuuid) {
        delete zuuid;
        zuuid = 0;
    }

    return r;
}

The result is like this:

image

About

A Tool for Create Uuid Format String Developed with Qt

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages