title: How to compare two QString arrays Qt C++
body: <p>i want to compare two QString Array with Qt and C++, i tried this, but it dosent work, (in fact my application crash...) : </p>
  
  <pre><code>if(ArrayOne[nb] != ArrayTwo[nb]){
  
  }
  </code></pre>
  
  <p>And then i need to assign a value at an element of my array, but i dosent work too :</p>
  
  <pre><code>ArrayOne[nb] = ArrayTwo[nb];
  </code></pre>
  
  <p>To reach this :</p>
  
  <pre><code>if(ArrayOne[nb] != ArrayTwo[nb]){
  ArrayOne[nb] = ArrayTwo[nb];
  }
  </code></pre>
  
  <p>THANKS !</p>