The statement is:
int nmbr;
QString strngs;
for( nmbr = 62; nmbr <65; nmbr++)
{
strngs=(QString)"qDebug()<<(QString)ui->label_"+QString::number(nmbr)+"->text();";
}
Actually I want to access QLabels, a lot of them and extract their text for using at some other place.
Thanks!
Are you trying to get the text from a lot of QLabels of a current widget?
Then you'd better do something like that:
Is this what you're looking for?