hi i am trying to concatenate a variable with a string. How can i do this?
here is the code
Qt Code:
  1. void login::show_user()
  2. {
  3. QString user_name = user->text();
  4. QMessageBox::information(this, tr("Your Username"),
  5. tr("Your username is user_name"));
  6. }
To copy to clipboard, switch view to plain text mode 

i want to concatenate user_name in QMessageBox to display username