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?

有帮助吗?

解决方案

I finally found a solution to this.

QByteArray arr= QByteArray((const char *)dataBlob->pbData, dataBlob->cbData);
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top