Qstirng str=“123 456 789”; QStringList t_list =str.splite(" ");QList t_data;for(int i=0;i{t_data.append(t_list[i]);}qDebug()<
定义一个容器类