title: How to write on multiple lines in a QMessageBox in QtCreator?
body: <p>I would like to have in a message box the following lines:</p>
  
  <pre><code>name:
  surname:
  data:
  test:
  </code></pre>
  
  <p>After each <code>:</code> I'll programmatically fill the line. I would like to ask how can I have this structure in a QMessageBox. It is possible?</p>
  
  <p>I am a beginner in Qt Creator. Currently I learned to do this:</p>
  
  <pre><code>QMessageBox noc;
              std::string s= "hello1";
              QString er = s.c_str();
              noc.setText(er);
              noc.exec()
  </code></pre>