QProgressbar Format can be set as follow:
Qt Code:
  1. progressbar->setFormat("text here");
To copy to clipboard, switch view to plain text mode 
What I want is to have some text into the setFormat(); and an integer t follow.
Specifically, I need
Qt Code:
  1. ui->progressbar->setFormat("Starting with " + ui->listwidget->count()+ " files");
To copy to clipboard, switch view to plain text mode 

I get error
Qt Code:
  1. invalid operands of types ‘const char*’ and ‘const char [7]’ to binary ‘operator+’
To copy to clipboard, switch view to plain text mode 

So, how will I do what I want?

Thx for any replies, happy new year.