title: Qt string problems
body: <p>So I made a program that simply makes "random" sentences. It chooses a noun and a color adjective from a list of 7 based to a seed that uses ctime. Now I'm trying to convert it into a console app. My issue is that I'm not able to display it correctly. Instead of cout I need to get it all on one label. </p>
  
  <blockquote>
    <p>error: no matching function for call to
    'QLabel::setText(std::string&amp;)'</p>
  </blockquote>
  
  <pre><code>#include "mainwindow.h"
  #include "ui_mainwindow.h"
  #include &lt;cstdlib&gt;
  #include &lt;iostream&gt;
  #include &lt;ctime&gt;
  
  MainWindow::MainWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow)
  {
      ui-&gt;setupUi(this);
  }
  
  MainWindow::~MainWindow()
  {
      delete ui;
  }
  
  void MainWindow::on_newSentence_clicked()
  {
      std::string noun[7] = {"cow", "tree", "marker", "cereal", "calendar", "rug", "hammer"};
      std::string color[7] = {"red", "orange", "yellow", "green", "blue", "indigo", "violet"};
  
      srand(time(0));
      int nounRandomizer = (rand()%5);
      int colorRandomizer = ((rand()+1)%5);
  
      std::string sentence = "The"+noun[nounRandomizer]+" is "+color[colorRandomizer]+".";
  
      ui-&gt;sentenceDisplay-&gt;setText(sentence);
  }
  </code></pre>