Thanks Jacek for the idea and congrats on becoming a Guru!
I was wondering if you could display integers using message box?
This below code works well:
char message[] = "Text";
char message[] = "Text";
QMessageBox::information(this, "Title", message, QMessageBox::Ok);
To copy to clipboard, switch view to plain text mode
but when I replace "message" with an integer (int message = 1
it won't work.
How do you display integers?
For example if I want to say in the message boxt:
"You had 5 files in this folder" and the number 5 was calculated by a formula, not typed in by a programmer.
Bookmarks