title: QVector: no match for 'operator+'
body: <p>I am passing a QVector from one window to another, I want to append the value present in QVector from previous window to a QString in present window. I get the error when I perform the addition <code>no match for 'operator+'</code>.</p>
  
  <p>Here is my code:</p>
  
  <p>Window1.cpp</p>
  
  <pre><code>void SelectOS::processNextButton()
  {
      if(ui-&gt;win32-&gt;isChecked()){
          QString path;
          path = qApp-&gt;applicationDirPath()+"/WIN/32Bit";
          so-&gt;osName.push_back(path);
          SelectSoftware *ss = new SelectSoftware();
          this-&gt;hide();
          ss-&gt;show();
      }
  }
  
  QVector&lt;QString&gt; SelectOS::getosName(){
      so = new SelectOS();
      return so-&gt;osName;
  }
  </code></pre>
  
  <p>Window2.cpp</p>
  
  <pre><code>void SelectSoftware::getSoftwareDetails()
  {
  
      SelectOS *so = new SelectOS();
      SelectSoftware *ss = new SelectSoftware();
      ss-&gt;os = so-&gt;getosName();
  
      QString fileName = ss-&gt;os + "/" +SOFTWARELIST; // Here I get the error...
  
      QFile file(fileName);
      if (!file.open(QIODevice::ReadOnly | QIODevice::Text)){
          QString msg = "Could not find the file " + fileName;
          errorExit(msg);
      }
  
      QTextStream in(&amp;file);
      while (!in.atEnd()) {
          QString line = in.readLine();
          processLine(line.toLower());
      }
  }
  </code></pre>
  
  <p>Help me, thanks ...</p>