Qt-interest Archive, April 2008
Read delimited data from a QFile
Message 1 in thread
Hello everybody, I've a file that contains some of data delimited by ";". I
want to read every line and put it in QStringList.
Does anyone have an idea how read these data.
Best Regards.
Mourad.
Message 2 in thread
Hi,
take a look at QFile, QTextStream and QString. In particular,
QTextStream::readLine() and QString::split().
HTH,
Sean
On Friday 18 April 2008 15:20:23 HEDFI Mourad wrote:
> Hello everybody, I've a file that contains some of data delimited by ";". I
> want to read every line and put it in QStringList.
> Does anyone have an idea how read these data.
> Best Regards.
> Mourad.
--
[ signature omitted ]