#define PATH? "D\\jx.txt"
QFile file(PATH);
if(!file.open(QIODevice::ReadOnly ))
{
????qDebug()<<"Can't open the file!"<<endl;
}
while(!file.atEnd())
{
????QByteArray line = file.readLine();
????QString str(line);
//分割
QList<QString> tempList = str.split(",");
????qDebug()<< str;
}