1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include "keygenthread.h" KeyGenThread::KeyGenThread(QString keyGenParams, GpgME::Context *ctx) { qDebug() << keyGenParams; this->keyGenParams=keyGenParams; this->ctx=ctx; abort=false; } void KeyGenThread::run() { qDebug() << keyGenParams; qDebug("hallo2"); ctx->generateKey(&keyGenParams); qDebug("hallo323"); }