PDA

View Full Version : Reading file using QFile class



mania
2nd April 2013, 14:39
Hi all,

Finger print data is stored in textfile, using QFile i read the data which have stored in .txt file but i got only "BMvV" not whole data. Can any one help me, how to read whole data in .txt file .



Thanks in advance

Santosh Reddy
2nd April 2013, 15:21
Can you show us how you are reading the file?

Make sure you are using QIODevice::Text mode while opening the file

d_stranz
2nd April 2013, 17:12
but i got only "BMvV" not whole data

Looks to me like this is a binary data file, not ASCII text.