PDA

View Full Version : Reading file using QFile class



mania
2nd April 2013, 13: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, 14: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, 16:12
but i got only "BMvV" not whole data

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