Skip to content
Snippets Groups Projects
Select Git revision
  • 00c89b56c9cf309475f33e10a119937ae596dcf6
  • master default protected
  • order_matters
  • code-cleanup
  • fixes
  • v0.3.1
  • v0.3.0
  • v0.2.1
  • v0.2.0
  • v0.1.0
10 results

qtidenticon.cpp

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    qtidenticon.cpp 513 B
    #include <QCoreApplication>
    #include <QtGlobal>
    #include <QtDebug>
    #include "identicon.h"
    
    int main(int argc, char *argv[])
    {
        QCoreApplication a(argc, argv);
        QList<QString> hashes =
        {
            "@red_sky:ocean.joedonofry.com",
        };
        for (QString hash : hashes) {
            QByteArray hashArr = QByteArray::fromStdString(hash.toStdString());
            Identicon test(hashArr, 256);
            qInfo() << hash;
            qInfo() << test.generateSvg(test, false);
        }
        return  0;
        //return a.exec();
    }