Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Displaying text & integer in a single label?

$
0
0
This is a total simple question I think, but: How do I display a string and a integer in a single label? I tried it to make it like this:     int version = 1;     ui->label_3->setText("Version", version); or this:     int version = 1;     ui->label_3->setText("Version" & version); ..or this:     int version = 1;     ui->label_3->setText("Version" + version); Nothing seems to work..

Viewing all articles
Browse latest Browse all 18427

Trending Articles