Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在从事一个涉及集成 DigitalPersona U.are.U 指纹扫描仪的 Qt 项目。我现在面临的唯一问题是将指纹 DATA_BLOB 模板转换为 QByteArray 以便将其存储到 SQLite 数据库中。我该怎么做?
我终于找到了解决方案。
QByteArray arr= QByteArray((const char *)dataBlob->pbData, dataBlob->cbData);