I am developing an application on Qt where I need to fill a quite "big" label with some informations. I wrote this:
ostringstream convert;
convert <<"Le temps mis pour afficher les images depuis la base de données est de "<<deltat1<<"ms avec "<<files.length()<<" images"<<endl ;
ui->label_5->setText(convert.str().c_str());
but when I run the program, some parts of the text are out of label_5 bounds. How is it possible to properly display the text in the label (on several lines) ?
Thanks in advance