Pergunta

I'm currently working on a Qt Project which involves integration of the DigitalPersona U.are.U Fingerprint Scanner. The only problem I'm facing right now is the conversion of the Fingerprint DATA_BLOB template to QByteArray so as to store it into SQLite database. How to I go about that?

Foi útil?

Solução

I finally found a solution to this.

QByteArray arr= QByteArray((const char *)dataBlob->pbData, dataBlob->cbData);
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top