QList<double> list;//定义QList
list.append("ee");//添加数据
//遍历获取数据,数组赋值
if (!list.empty() && list.size()>0){
float arr[list.size()];
for(int i =0; i<list.size();i++){
arr[i] = list.at(i); //数组赋值
}
}
06-12
824
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)