• Generates a UUIDv4.

    Will provide a fallback in case crypto is not available, which makes the "uuid" package generator not work.

    Important

    This workaround is here for usage in Qt/QML environments, where crypto is not available. Bug 1688015 was opened to figure out a less hacky way to do this.

    Returns string

    A randomly generated UUIDv4.

Generated using TypeDoc