Iterating QLabel type list in Qt

  c++, qt

As the title indicates, I am trying to iterate a QLabel list and then use each item for a purpose. A little example code is,

QList<QLabel> labelList;
labelList.append(* ui->s0s0);
labelList.append(* ui->s0s1);
labelList.append(* ui->s0s2);

for (int i = 0; i < tilesList.count(); i++){

But unfortunately, I am getting no member named 'labelList' in Ui::Widget. So my question is, is what I am trying to do possible if it does, what I am doing wrong? Thanks in advance.

Source: Windows Questions C++