How to write ByteArray into a text file?
I tried the code below but it is not working.
Code:
Qt Code:
int id = record.value(0).toInt(); QSqlQuery query; if(query.next()) { { file.write(meshbyte); file.close(); } }To copy to clipboard, switch view to plain text mode
Bookmarks